Gentoo Archives: gentoo-alt

From: Al <oss.elmar@××××××××××.com>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Bootstrapping on Solaris 64-bits, binutils breakage
Date: Wed, 13 Oct 2010 09:21:16
Message-Id: AANLkTi=dqGLCxYvnS=N4ck83Xy7qcPW4Q5G-oDSSLKce@mail.gmail.com
In Reply to: [gentoo-alt] Bootstrapping on Solaris 64-bits, binutils breakage by Fabian Groffen
1 > I just noticed that bootstrapping on Solaris 64-bits breaks with
2 > binutils, because it happens to find libiberty.a from /usr/sfw/64
3 > instead of its own internal built in copy.
4 >
5 > I'm not yet sure how to fix it properly, but for now, I applied this
6 > hack/workaround in step 1.7:
7 >
8 > env LDFLAGS="-L$EPREFIX/usr/lib -R$EPREFIX/usr/lib -L$EPREFIX/lib -R$EPREFIX/lib" emerge --oneshot --nodeps binutils
9 >
10 > this worked for me to get binutils built.  gcc seems to the next to
11 > break for the same reasons.  So you'll also need
12 >
13 > env LDFLAGS="-L$EPREFIX/usr/lib -R$EPREFIX/usr/lib -L$EPREFIX/lib -R$EPREFIX/lib" emerge --oneshot --nodeps "=gcc-4.2*"
14
15 Hm, strange.
16
17 1.) IMHO bootstrap-prefix.sh writes the same LDFLAGS to make.defaults.
18 Why don't they take effect?
19 2.) Why does this issue only occur for two programs? It's always the
20 same linker, isn't it?
21
22 Al
23
24 --
25 Caution crosser:  Runnig Gentoo/Prefix on Cygwin/Vista.
26 All stupid questions are related to that context.

Replies

Subject Author
Re: [gentoo-alt] Bootstrapping on Solaris 64-bits, binutils breakage Fabian Groffen <grobian@g.o>