Subject: Re: Can't link sparc64 GENERIC
To: Martin Husemann <martin@duskware.de>
From: Jeff Rizzo <riz@NetBSD.org>
List: tech-toolchain
Date: 06/11/2005 16:16:58
--BXVAT5kNtrzKuDFl
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jun 11, 2005 at 10:10:12PM +0200, Martin Husemann wrote:
> On Sat, Jun 11, 2005 at 12:00:13PM -0700, Soren Jacobsen wrote:
> > Hmm.  riz@ got this with netbsd-3 while building GENERIC32, so I know
> > I'm not alone.
>=20
> GENERIC32 is a completely different beast, I didn't test that.
>=20
> I just rebuild my tools from scratch, cleaned the compile directory,
> and tried again - still works (in -current).
>=20
> Martin

I just did the same (updated -current and built fresh) , and got:

--- netbsd ---
#      link  GENERIC32/netbsd
/home/riz/tools-current/bin/sparc--netbsdelf-ld -n -T /usr/src-current/sys/=
arch/sparc64/conf/kern32.ldscript -Ttext 01000000 -Tdata 01800000 -e start =
-S -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
/home/riz/tools-current/bin/sparc--netbsdelf-ld: section .data [01800000 ->=
 0183e45f] overlaps section .rodata [0174f948 -> 0188eedf]
/home/riz/tools-current/bin/sparc--netbsdelf-ld: section .bss [0183e460 -> =
018785ef] overlaps section .rodata [0174f948 -> 0188eedf]
*** [netbsd] Error code 1
1 error


Note that this is building _from_ i386 (2.0_STABLE) with a sparc64 target;
I had to build both a sparc64 and sparc toolchain to get the build to happe=
n.

+j

--BXVAT5kNtrzKuDFl
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)

iQCVAwUBQqtw6rOuUtxCgar5AQJ8TgP/c2ZWMQJ36esE0lDNIaiSdMLco4y5GRUG
VioY0uti7G32Spv7Wyg27jDcnzM7uNkErRCLxtWBAdt2tT1g2tLIarfhFo4KEkb5
tnZEx5uWPw5KWLQUnftY2KDGXPLVCGFAIGUi6RSFCfbZUpzA1mXzDGsBmkQvWHtL
cFUJsvK5kqo=
=Q2UT
-----END PGP SIGNATURE-----

--BXVAT5kNtrzKuDFl--