Subject: can't link GENERIC_SUN4U in sparc release crossbuild
To: None <tech-toolchain@netbsd.org>
From: Bernd Sieker <bsieker@rvs.uni-bielefeld.de>
List: tech-toolchain
Date: 07/14/2005 10:13:29
Hi,
cross-building a -current release snapshot for sparc fails while
trying to link the 32bit-Kernel for sun4u machines.
Host is 2.0_STABLE/i386, target is sparc, sources are -current,
last updated Jul 13 12:35.
Linking of the GENERIC_SUN4U kernel fails with the following
messages:
[...]
# link GENERIC_SUN4U/netbsd
/usr/source/current/src/obj/tooldir.NetBSD-2.0_STABLE-i386/bin/sparc--netbsdelf-ld -n -T /usr/source/current/src/sys/arch/sparc64/conf/kern32.ldscript -Ttext 01000000 -Tdata 01800000 -e start -S -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
/usr/source/current/src/obj/tooldir.NetBSD-2.0_STABLE-i386/bin/sparc--netbsdelf-ld: section .data [01800000 -> 0183e2d7] overlaps section .rodata [0175afe8 -> 0189db3f]
/usr/source/current/src/obj/tooldir.NetBSD-2.0_STABLE-i386/bin/sparc--netbsdelf-ld: section .bss [0183e2d8 -> 0187803f] overlaps section .rodata [0175afe8 -> 0189db3f]
*** Failed target: netbsd
[...]
I had previously removed all object directories and also explicitly rebuilt the toolchain
with "./build.sh -r -m sparc tools"
Regards,
Bernd
--
Bernd Sieker
NetBSD - the cure.
-- Julian Assange