tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: vax binutils 2.39 gas problems



christos@ wrote:

> I think I found the problem....

Thanks, with the following your commit
 https://mail-index.netbsd.org/source-changes/2023/01/27/msg143037.html
now vax bootloader builds.

However there are still several problems.

- bootloader built with the updated toolchain doesn't boot on VS3100/m30
  (I have not checked on SIMH though)

- building GENERIC kernel still gets error during libkern:
---
#   compile  kern/inet_addr.o
/s/cvs/src/obj.vax/tooldir.NetBSD-9.3-i386/bin/vax--netbsdelf-gcc -save_temps \
-fno-pic -ffreestanding -fno-zero-initialized-in-bss  \
-fno-delete-null-pointer-checks  -g -O2 -fno-strict-aliasing -fno-common  \
   -std=gnu99   -Werror -Wall -Wno-main -Wno-format-zero-length \
-Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes \
-Wold-style-definition -Wswitch -Wshadow -Wcast-qual -Wwrite-strings \
-Wno-unreachable-code -Wno-pointer-sign -Wno-attributes -Wno-type-limits \
-Wno-sign-compare -Walloca   -Wno-address-of-packed-member     \
--sysroot=/s/cvs/src/obj.vax/destdir.vax \
-I../../../../../../lib/libkern/arch/vax \
--sysroot=/s/cvs/src/obj.vax/destdir.vax -D_VAX_INLINE_ -I../../. \
-I../../../../../../external/bsd/libnv/dist \
-I../../../../../../external/bsd/acpica/dist \
-I../../../../../../../common/lib/libx86emu \
-I../../../../../../../common/lib/libc/misc \
-I../../../../../../../common/include -I../../../../../../arch \
-I../../../../../.. -nostdinc -DCOMPAT_UTILS -DCOMPAT_44 -D_KERNEL \
-D_KERNEL_OPT -std=gnu99 \
-I../../../../../../lib/libkern/../../../common/lib/libc/quad \
-I../../../../../../lib/libkern/../../../common/lib/libc/string \
-I../../../../../../lib/libkern/../../../common/lib/libc/arch/vax/string \
-I../../../../../../lib/libkern/../../../common/lib/libc/arch/vax/atomic \
-I../../../../../../lib/libkern/../../../common/lib/libc/hash/sha3 \
-I../../../../../../external/bsd/libnv/dist  \
-I../../../../../../lib/libkern/../../../common/lib/libc/quad \
-I../../../../../../lib/libkern/../../../common/lib/libc/string \
-I../../../../../../lib/libkern/../../../common/lib/libc/arch/vax/string \
-I../../../../../../lib/libkern/../../../common/lib/libc/arch/vax/atomic \
-I../../../../../../lib/libkern/../../../common/lib/libc/hash/sha3 \
-I../../../../../../lib/libkern/../../../common/include \
-I../../../../../../lib/libkern/../../../common/libc/hash/sha3  -c    \
../../../../../../lib/libkern/../../../common/lib/libc/inet/inet_addr.c \
-o inet_addr.o
inet_addr.s: Assembler messages:
inet_addr.s:1840: Error: can't resolve .LVL22 - .Ltext0
inet_addr.s:1840: Error: can't resolve .LVL22 - .Ltext0

*** Failed target:  inet_addr.o
---

inet_addr.s by the above -save_temps:
---
1821     .LLST7:
1822    	.4byte	.LVL5-.Ltext0
1823    	.4byte	.LVL7-.Ltext0
1824    	.2byte	0x2
1825    	.byte	0x30
1826    	.byte	0x9f
1827    	.4byte	.LVL7-.Ltext0
1828    	.4byte	.LVL9-.Ltext0
1829    	.2byte	0x1
1830    	.byte	0x50
1831    	.4byte	.LVL10-.Ltext0
1832    	.4byte	.LVL14-.Ltext0
1833    	.2byte	0x1
1834    	.byte	0x50
1835    	.4byte	.LVL14-.Ltext0
1836    	.4byte	.LVL16-.Ltext0
1837    	.2byte	0x2
1838    	.byte	0x31
1839    	.byte	0x9f
1840    	.4byte	.LVL23-.Ltext0
1841    	.4byte	.LVL25-.Ltext0
1842    	.2byte	0x1
1843    	.byte	0x50
1844    	.4byte	.LVL26-.Ltext0
1845    	.4byte	.LVL33-.Ltext0
1846    	.2byte	0x1
1847    	.byte	0x50
1848    	.4byte	.LVL34-.Ltext0
1849    	.4byte	.LVL38-.Ltext0

 :

1874    .LLST8:
1875    	.4byte	.LVL21-.Ltext0
1876    	.4byte	.LVL22-.Ltext0
1877    	.2byte	0x1
1878    	.byte	0x53
1879    	.4byte	0
1880    	.4byte	0
---

So there are still something wrong?

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index