Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-amd64
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-amd64@g.o
From: Harm Geerts <harmgeerts@...>
Subject: Re: Re: gcc wants emul libc.so.6
Date: Mon, 9 Jan 2006 13:38:00 +0100
On Monday 09 January 2006 13:26, Daiajo Tibdixious wrote:
> On 1/9/06, Daiajo Tibdixious <daiajo@...> wrote:
> > On 1/9/06, Harm Geerts <harmgeerts@...> 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@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.
It's a package for i686, that doesn't work well for a amd64 system :)

You could try to use the glibc files from a stage3 tarball.
Don't untar the whole thing in your /, just get the things you need.
Not sure which version it has but since your running stable it shouldn't make 
a whole lot of difference.

I could package them for you as well, just let me know which useflags you use.
And if you use userlocales which locales you want.
Mine is build with USE="nls nptl nptlonly pic userlocales"
And english and dutch utf8 locales.
-- 
gentoo-amd64@g.o mailing list


References:
gcc wants emul libc.so.6
-- Daiajo Tibdixious
Re: gcc wants emul libc.so.6
-- Daiajo Tibdixious
Re: gcc wants emul libc.so.6
-- Daiajo Tibdixious
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: gcc wants emul libc.so.6
Next by thread:
Re: Re: gcc wants emul libc.so.6
Previous by date:
Re: gcc wants emul libc.so.6
Next by date:
Re: Re: gcc wants emul libc.so.6


Updated Jun 17, 2009

Summary: Archive of the gentoo-amd64 mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.