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 09:24:39
Message-Id: 20080311092433.GE20406@gentoo.org
In Reply to: RE: [gentoo-alt] [PREFIX] The libgcc linking case by Duft Markus
1 On 11-03-2008 10:18:51 +0100, Duft Markus wrote:
2 > Hi!
3 >
4 > Fabian Groffen <mailto:grobian@g.o> wrote:
5 > > On 09-03-2008 22:31:33 +0100, Fabian Groffen wrote:
6 > >> Well, I have to test what Linux and Solaris do with this, but on
7 > >> Darwin this horribly failed.
8 > >
9 > [[...]]
10 > >
11 > > (It works on Solaris as intended)
12 >
13 > Not sure wether this is related:
14 >
15 > 103 configure:2717: checking whether the C++ compiler works
16 > 104 configure:2727: ./a.out
17 > 105 ld.so.1: ./a.out: fatal: libgcc_s.so.1: version `GCC_4.2.0' not
18 > found (required by file
19 > /net/toolsjunk/mduft/gentoo/sauxy3/usr/lib/gcc/i386-pc-solaris2.10/4.2.3
20 > /libstdc++.so.6)
21 > 106 ld.so.1: ./a.out: fatal: libgcc_s.so.1: open failed: No such
22 > file or directory
23 > 107 ./configure: line 2728: 10967 Killed ./$ac_file
24 > 108 configure:2730: $? = 137
25 > 109 configure:2739: error: cannot run C++ compiled programs.
26 >
27 > I just tried to bootstrap on our solaris box (with gcc 4.2.3 in this
28 > case...). Any hints what to do here?
29
30 What phase of the bootstrapping process is this? The emerge -e system
31 or something? Otherwise, how do you get that GCC_4.2.0? I thought we
32 don't even have that version in prefix.
33
34 But, if you didn't "enable" the new versions, you shouldn't actually
35 have anything of the new "layout", all should be the same as it was.
36
37 What does ldd
38 /net/toolsjunk/mduft/gentoo/sauxy3/usr/lib/gcc/i386-pc-solaris2.10/4.2.3/libstdc++.so.6
39 result in? scanelf -r on the file?
40
41
42 --
43 Fabian Groffen
44 Gentoo on a different level
45 --
46 gentoo-alt@l.g.o mailing list