Subject: Re: 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/16/2005 10:15:00
On 15.07.05, 23:40:53, Soren Jacobsen wrote:
> On Jul 14, 2005, at 1:13 AM, Bernd Sieker wrote:

> >[...]
> >#      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]
> 
> Are you using -pipe?  If so, don't :)

Why would that matter?

And also, until just a few weeks ago I could build sparc releases
on i386, and it suddenly stopped working with the above message.

I might try building one natively, but that takes a long time.

I also noticed that the releng binary snapshots have had failures
for sparc builds for the last couple of days. Also with the SUN4U
kernel, but in a slightly different place. See
  http://releng.netbsd.org/builds/HEAD/200507140000Z/sparc.build.failed


Regards,
Bernd

-- 
Bernd Sieker

NetBSD: We Stay Up.
		-- Andrew Gillham