Subject: Re: can't link GENERIC_SUN4U in sparc release crossbuild
To: None <tech-toolchain@netbsd.org>
From: Martin Husemann <martin@duskware.de>
List: tech-toolchain
Date: 07/14/2005 10:41:51
On Thu, Jul 14, 2005 at 10:13:29AM +0200, Bernd Sieker wrote:
> 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]

This has been reported before, but I can't reproduce it (though I don't have a
2.0.x machine - which realy should not matter).

Martin