Gentoo Archives: gentoo-amd64

From: "Domingo Suárez" <dsc.ingenieria@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: gcc wants emul libc.so.6
Date: Mon, 09 Jan 2006 12:56:22
Message-Id: bea5076e0601090454g3326fabv@mail.gmail.com
In Reply to: [gentoo-amd64] Re: gcc wants emul libc.so.6 by Daiajo Tibdixious
2006/1/9, Daiajo Tibdixious <daiajo@×××××.com>:
> > On 1/9/06, Daiajo Tibdixious <daiajo@×××××.com> wrote: > > On 1/9/06, Harm Geerts <harmgeerts@××××.nl> wrote: > > > On Monday 09 January 2006 10:51, Daiajo Tibdixious wrote: > > > > # emerge --ask --verbose gcc > > > > > > > > These are the packages that I would merge, in order: > > > > > > > > Calculating dependencies ...done! > > > > [ebuild N ] sys-devel/gcc-3.4.4-r1 (-altivec) -bootstrap > > > > -boundschecking -build +fortran -gcj +gtk -hardened -ip28 -mudflap > > > > (-multilib) +multislot (-n32) (-n64) +nls -nocxx -nopie -nossp -objc > > > > -objc-gc -vanilla 0 kB > > > > > > > > fails with this error > > > > /usr/x86_64-pc-linux-gnu/bin/ld: cannot find > > > > /emul/linux/x86/lib/libc.so.6 > > > > > > > > # equery belongs libc.so.6 > > > > Searching for file 'libc.so.6' in *... > > > > sys-libs/glibc-2.3.5-r2 (/lib/libc.so.6 -> libc-2.3.5.so) > > > > # ls -l /lib/libc.so.6 > > > > lrwxrwxrwx 1 root root 13 Jan 3 20:27 /lib/libc.so.6 -> > libc-2.3.5.so > > > > > > > > I tried linking this file into the emul directory - it is ignored > > > > since its 64 bit > > > > # file /lib/libc-2.3.5.so > > > > /lib/libc-2.3.5.so: ELF 64-bit LSB shared object, AMD x86-64, > version > > > > 1 (SYSV), stripped > > > > > > > > I expected to find the file in one of the emul-linux-x86-* I emerged > > > > baselibs, glibc, gtklibs, & qtlibs with no joy. > > > > Googling turned up similar problems but no solution. > > > > > > > http://www.mail-archive.com/gentoo-amd64@l.g.o/msg02747.html > > > They weren't kidding ;) > > > -- > > > > When I ugraded to 2005.0, gcc 3.4.4-r1 was working fine. > > Yours truely did the most stupid thing and ummerged gcc, crippling > > python and hence all of portage. I recoverd via the how-to > > specifically for this. Of cousrse there was no binary for gcc 3.4.4 so > > I immediately tried to emerge it. > > > > This is not an upgrade problem, its a dufus admin (me) problem. > > > > BTW the emul-linux-x86-glibc ebuild says "32bit libc is now provided > > by sys-libs/glibc." > > however I can't emerge glibc because it depends on gcc 3.4.4 which needs > > glibc. > > A catch 22. > > > > I need a binary glibc 2.3.5-r2 > > Found a binary > > http://chinstrap.alternating.net/files/2005.0/grp/i686/glibc-2.3.5-r2.tbz2 > (no 386 there) > only needed 2 files > libc-2.3.5.so > # ln -s libc-2.3.5.so libc.so.6 > libc_nonshared.a > now gcc fails with > checking for library containing gettext... configure: error: Link > tests are not allowed after GCC_NO_EXECUTABLES. > make[1]: *** [configure-target-libstdc++-v3] Error 1 > make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.4-r1/work/build' > make: *** [profiledbootstrap] Error 2 > > !!! ERROR: sys-devel/gcc-3.4.4-r1 failed. > !!! Function gcc_do_make, Line 1319, Exitcode 2 > !!! emake failed with profiledbootstrap > > Anyway 23:30 here, probably obvious in the morning. > > -- > gentoo-amd64@g.o mailing list > > Try to find a an amd64 package, not i686. And also take a look at
http://www.gentoo.org/doc/en/gcc-upgrading.xml , there are things to take care about with libstdc++