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


Updated Oct 31, 2011

Summary: Archive of the gentoo-amd64 mailing list.

Donate to support our development efforts.

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