Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] [PREFIX] The libgcc linking case
Date: Tue, 11 Mar 2008 13:36:19
Message-Id: 20080311133616.GH20406@gentoo.org
In Reply to: RE: [gentoo-alt] [PREFIX] The libgcc linking case by Duft Markus
1 On 11-03-2008 14:33:41 +0100, Duft Markus wrote:
2 > Fabian Groffen <mailto:grobian@g.o> wrote:
3 > > On 11-03-2008 10:18:51 +0100, Duft Markus wrote:
4 > [[...]]
5 > >>
6 > >> I just tried to bootstrap on our solaris box (with gcc 4.2.3 in this
7 > >> case...). Any hints what to do here?
8 > >
9 > > What phase of the bootstrapping process is this? The emerge -e system
10 > > or something? Otherwise, how do you get that GCC_4.2.0? I thought we
11 > > don't even have that version in prefix.
12 > >
13 > > But, if you didn't "enable" the new versions, you shouldn't actually
14 > > have anything of the new "layout", all should be the same as it was.
15 > >
16 > > What does ldd
17 > >
18 > /net/toolsjunk/mduft/gentoo/sauxy3/usr/lib/gcc/i386-pc-solaris2.10/4.2.3
19 > /libstdc++.so.6
20 > > result in? scanelf -r on the file?
21 >
22 > mduft@sauxy3 sauxy3 594$ ldd
23 > /net/toolsjunk/mduft/gentoo/sauxy3/usr/lib/gcc/i386-pc-solaris2.10/4.2.3
24 > /libstdc++.so.6
25 > libm.so.2 => /lib/libm.so.2
26 > libgcc_s.so.1 => /usr/sfw/lib/libgcc_s.so.1
27 > libgcc_s.so.1 (GCC_4.2.0) => (version not found)
28 > libc.so.1 => /lib/libc.so.1
29 >
30 > Ahhhh.... It catches the wrong libgcc_s.so.1! Grr... I looked a little
31 > closer and realized that LD_LIBRARY_PATH was set on this machine...
32 > ARG... This really destroys everything.
33 >
34 > Haubi told me that there is no scanelf on solaris, and asks wether you
35 > have one? :)
36
37 Yeah:
38
39 % qfile scanelf
40 app-misc/pax-utils (/Library/Gentoo/usr/bin/scanelf)
41
42 (So indeed, not by default)
43
44
45 --
46 Fabian Groffen
47 Gentoo on a different level
48 --
49 gentoo-alt@l.g.o mailing list