Gentoo Archives: gentoo-amd64

From: Daiajo Tibdixious <daiajo@×××××.com>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Re: gcc wants emul libc.so.6
Date: Mon, 09 Jan 2006 12:29:24
Message-Id: a4a9bfcb0601090426p6e764400l4733ef53469276f8@mail.gmail.com
In Reply to: [gentoo-amd64] Re: gcc wants emul libc.so.6 by Daiajo Tibdixious
1 On 1/9/06, Daiajo Tibdixious <daiajo@×××××.com> wrote:
2 > On 1/9/06, Harm Geerts <harmgeerts@××××.nl> wrote:
3 > > On Monday 09 January 2006 10:51, Daiajo Tibdixious wrote:
4 > > > # emerge --ask --verbose gcc
5 > > >
6 > > > These are the packages that I would merge, in order:
7 > > >
8 > > > Calculating dependencies ...done!
9 > > > [ebuild N ] sys-devel/gcc-3.4.4-r1 (-altivec) -bootstrap
10 > > > -boundschecking -build +fortran -gcj +gtk -hardened -ip28 -mudflap
11 > > > (-multilib) +multislot (-n32) (-n64) +nls -nocxx -nopie -nossp -objc
12 > > > -objc-gc -vanilla 0 kB
13 > > >
14 > > > fails with this error
15 > > > /usr/x86_64-pc-linux-gnu/bin/ld: cannot find
16 > > > /emul/linux/x86/lib/libc.so.6
17 > > >
18 > > > # equery belongs libc.so.6
19 > > > Searching for file 'libc.so.6' in *...
20 > > > sys-libs/glibc-2.3.5-r2 (/lib/libc.so.6 -> libc-2.3.5.so)
21 > > > # ls -l /lib/libc.so.6
22 > > > lrwxrwxrwx 1 root root 13 Jan 3 20:27 /lib/libc.so.6 -> libc-2.3.5.so
23 > > >
24 > > > I tried linking this file into the emul directory - it is ignored
25 > > > since its 64 bit
26 > > > # file /lib/libc-2.3.5.so
27 > > > /lib/libc-2.3.5.so: ELF 64-bit LSB shared object, AMD x86-64, version
28 > > > 1 (SYSV), stripped
29 > > >
30 > > > I expected to find the file in one of the emul-linux-x86-* I emerged
31 > > > baselibs, glibc, gtklibs, & qtlibs with no joy.
32 > > > Googling turned up similar problems but no solution.
33 > >
34 > > http://www.mail-archive.com/gentoo-amd64@l.g.o/msg02747.html
35 > > They weren't kidding ;)
36 > > --
37 >
38 > When I ugraded to 2005.0, gcc 3.4.4-r1 was working fine.
39 > Yours truely did the most stupid thing and ummerged gcc, crippling
40 > python and hence all of portage. I recoverd via the how-to
41 > specifically for this. Of cousrse there was no binary for gcc 3.4.4 so
42 > I immediately tried to emerge it.
43 >
44 > This is not an upgrade problem, its a dufus admin (me) problem.
45 >
46 > BTW the emul-linux-x86-glibc ebuild says "32bit libc is now provided
47 > by sys-libs/glibc."
48 > however I can't emerge glibc because it depends on gcc 3.4.4 which needs
49 > glibc.
50 > A catch 22.
51 >
52 > I need a binary glibc 2.3.5-r2
53
54 Found a binary
55 http://chinstrap.alternating.net/files/2005.0/grp/i686/glibc-2.3.5-r2.tbz2
56 (no 386 there)
57 only needed 2 files
58 libc-2.3.5.so
59 # ln -s libc-2.3.5.so libc.so.6
60 libc_nonshared.a
61 now gcc fails with
62 checking for library containing gettext... configure: error: Link
63 tests are not allowed after GCC_NO_EXECUTABLES.
64 make[1]: *** [configure-target-libstdc++-v3] Error 1
65 make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.4-r1/work/build'
66 make: *** [profiledbootstrap] Error 2
67
68 !!! ERROR: sys-devel/gcc-3.4.4-r1 failed.
69 !!! Function gcc_do_make, Line 1319, Exitcode 2
70 !!! emake failed with profiledbootstrap
71
72 Anyway 23:30 here, probably obvious in the morning.
73
74 --
75 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] Re: gcc wants emul libc.so.6 Harm Geerts <harmgeerts@××××.nl>
Re: [gentoo-amd64] Re: gcc wants emul libc.so.6 "Domingo Suárez" <dsc.ingenieria@×××××.com>