Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Bootstrapping on Solaris 64-bits, binutils breakage
Date: Wed, 13 Oct 2010 09:43:55
Message-Id: 20101013094337.GH3780@gentoo.org
In Reply to: [gentoo-alt] Bootstrapping on Solaris 64-bits, binutils breakage by Fabian Groffen
1 On 13-10-2010 11:05:05 +0200, Fabian Groffen wrote:
2 > All,
3 >
4 > I just noticed that bootstrapping on Solaris 64-bits breaks with
5 > binutils, because it happens to find libiberty.a from /usr/sfw/64
6 > instead of its own internal built in copy.
7 >
8 > I'm not yet sure how to fix it properly, but for now, I applied this
9 > hack/workaround in step 1.7:
10 >
11 > env LDFLAGS="-L$EPREFIX/usr/lib -R$EPREFIX/usr/lib -L$EPREFIX/lib -R$EPREFIX/lib" emerge --oneshot --nodeps binutils
12
13 ok, this actually needs to be (bizarre hack!):
14
15 env LDFLAGS="-L$EPREFIX/usr/lib -R$EPREFIX/usr/lib -L$EPREFIX/lib -R$EPREFIX/lib -R/usr/sfw/lib/64" emerge --oneshot --nodeps binutils
16
17 then GCC needs no hack any more, as it was failing because binutils was
18 barfing at runtime, due to a library mismatch.
19
20
21 --
22 Fabian Groffen
23 Gentoo on a different level

Replies

Subject Author
Re: [gentoo-alt] Bootstrapping on Solaris 64-bits, binutils breakage Al <oss.elmar@××××××××××.com>