Subject: kernel linking fails in -current
To: None <port-sparc@netbsd.org>
From: Markus W Kilbinger <kilbi@rad.rwth-aachen.de>
List: port-sparc
Date: 05/23/2004 17:51:08
Hi!
... with:
# compile GENERIC/vers.o
/usr/toolchain-sparc/bin/sparc--netbsdelf-gcc -mno-fpu
-ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length
-Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes
-Wno-sign-compare -fno-zero-initialized-in-bss -I.
-I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DRASTERCONSOLE -DLKM
-DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c vers.c
# link GENERIC/netbsd
/usr/toolchain-sparc/bin/sparc--netbsdelf-ld -n -T
/usr/src/sys/arch/sparc/conf/kern.ldscript -Ttext F0004000 -e start -X
-S -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
/usr/toolchain-sparc/bin/sparc--netbsdelf-ld: netbsd: Not enough room
for program headers (allocated 3, need 4)
/usr/toolchain-sparc/bin/sparc--netbsdelf-ld: final link failed: Bad
value
*** Failed target: netbsd
Markus.