<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>47819</bug_id>
          
          <creation_ts>2004-04-14 11:53 0000</creation_ts>
          <short_desc>emerge of gcc-3.3.3 fails after upgrading to emul-linux-x86-baselibs-1.1</short_desc>
          <delta_ts>2004-04-15 03:22:28 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Core system</component>
          <version>unspecified</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>gentoo@lorang.net</reporter>
          <assigned_to>amd64@gentoo.org</assigned_to>
          <cc>ab4bd@georgelemigh.com</cc>

      

      
          <long_desc isprivate="0">
            <who>gentoo@lorang.net</who>
            <bug_when>2004-04-14 11:53:32 0000</bug_when>
            <thetext>Everything is said in the subject. The emerge ends with :
./xgcc -B./ -B/usr/x86_64-pc-linux-gnu/bin/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -DHAVE_SYSLOG -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -D_LIBC_PROVIDES_SSP_ -shared -nodefaultlibs -Wl,--soname=libgcc_s.so.1 -Wl,--version-script=libgcc/32/libgcc.map -o 32/libgcc_s.so.1  -m32  libgcc/32/_muldi3.o libgcc/32/_negdi2.o libgcc/32/_lshrdi3.o libgcc/32/_ashldi3.o libgcc/32/_ashrdi3.o libgcc/32/_cmpdi2.o libgcc/32/_ucmpdi2.o libgcc/32/_floatdidf.o libgcc/32/_floatdisf.o libgcc/32/_fixunsdfsi.o libgcc/32/_fixunssfsi.o libgcc/32/_fixunsdfdi.o libgcc/32/_fixdfdi.o libgcc/32/_fixunssfdi.o libgcc/32/_fixsfdi.o libgcc/32/_fixxfdi.o libgcc/32/_fixunsxfdi.o libgcc/32/_floatdixf.o libgcc/32/_fixunsxfsi.o libgcc/32/_fixtfdi.o libgcc/32/_fixunstfdi.o libgcc/32/_floatditf.o libgcc/32/_clear_cache.o libgcc/32/_trampoline.o libgcc/32/__main.o libgcc/32/_exit.o libgcc/32/_absvsi2.o libgcc/32/_absvdi2.o libgcc/32/_addvsi3.o libgcc/32/_addvdi3.o libgcc/32/_subvsi3.o libgcc/32/_subvdi3.o libgcc/32/_mulvsi3.o libgcc/32/_mulvdi3.o libgcc/32/_negvsi2.o libgcc/32/_negvdi2.o libgcc/32/_ctors.o libgcc/32/_stack_smash_handler.o libgcc/32/_ffssi2.o libgcc/32/_ffsdi2.o libgcc/32/_clz.o libgcc/32/_clzsi2.o libgcc/32/_clzdi2.o libgcc/32/_ctzsi2.o libgcc/32/_ctzdi2.o libgcc/32/_popcount_tab.o libgcc/32/_popcountsi2.o libgcc/32/_popcountdi2.o libgcc/32/_paritysi2.o libgcc/32/_paritydi2.o libgcc/32/_divdi3.o libgcc/32/_moddi3.o libgcc/32/_udivdi3.o libgcc/32/_umoddi3.o libgcc/32/_udiv_w_sdiv.o libgcc/32/_udivmoddi4.o  libgcc/32/unwind-dw2.o libgcc/32/unwind-dw2-fde-glibc.o libgcc/32/unwind-sjlj.o libgcc/32/unwind-c.o -lc &amp;&amp; rm -f libgcc_s_32.so &amp;&amp; ln -s 32/libgcc_s.so.1 libgcc_s_32.so 
 /usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6 
 /usr/x86_64-pc-linux-gnu/bin/ld: cannot find /lib/libc.so.6 
 collect2: ld returned 1 exit status 
 make[3]: *** [32/libgcc_s_32.so] Error 1 
 make[3]: Leaving directory `/var/tmp/portage/gcc-3.3.3/work/build/gcc&apos; 
 make[2]: *** [stmp-multilib] Error 2 
 make[2]: Leaving directory `/var/tmp/portage/gcc-3.3.3/work/build/gcc&apos; 
 make[1]: *** [stage1_build] Error 2 
 make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.3/work/build/gcc&apos; 
 make: *** [bootstrap-lean] Error 2 
 
 !!! ERROR: sys-devel/gcc-3.3.3 failed. 
 !!! Function src_compile, Line 465, Exitcode 2 
 !!! (no error message)

When I downgrade to emul-linux-x86-baselibs-1.0 then gcc-3.3.3 compiles fine

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
 

Expected Results:</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@lorang.net</who>
            <bug_when>2004-04-14 11:56:09 0000</bug_when>
            <thetext>*** Bug 47817 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@lorang.net</who>
            <bug_when>2004-04-14 11:58:24 0000</bug_when>
            <thetext>Here is the output of emerge --info
Portage 2.0.50-r6 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.5-gentoo)
=================================================================
System uname: 2.6.5-gentoo x86_64 5
Gentoo Base System version 1.4.7
distcc 2.13 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS=&quot;amd64 ~amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-pipe -O2 -fomit-frame-pointer -mfpmath=sse -ffast-math&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-pipe -O2 -fomit-frame-pointer -mfpmath=sse -ffast-math&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache sandbox&quot;
GENTOO_MIRRORS=&quot;ftp://ftp.tu-clausthal.de/pub/linux/gentoo ftp://ftp.easynet.nl/mirror/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo&quot;
MAKEOPTS=&quot;-j3&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;X aalib alsa amd64 apm arts avi cdr crypt cups curl doc dv dvd dvdr encode esd ext-png ext-zlib fbcon foomaticdb gdbm gif gimpprint gpm gps gtk gtk2 imlib java jpeg kde libg++ libwww matroska motif mpeg multilib ncurses nls nogcj oggvorbis opengl oss pam pdflib perl pic png python qt quicktime radeon readline sdl spell ssl tcpd tiff transcode truetype usb wmf xml2 xmms xv xvid zlib&quot;
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lv@gentoo.org</who>
            <bug_when>2004-04-14 14:24:06 0000</bug_when>
            <thetext>kugelfang - masking this for now too</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kugelfang@gentoo.org</who>
            <bug_when>2004-04-14 18:51:09 0000</bug_when>
            <thetext>Ok, this is my fault again... 
/usr/lib32/libc.so is a ld script _should_ point to /lib32/libc.so.6,
not to /lib/libc.so.6. Fixed in CVS now.
You need to sync and remerge emul-linux-x86-baselibs-1.1.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kugelfang@gentoo.org</who>
            <bug_when>2004-04-15 03:22:28 0000</bug_when>
            <thetext>*** Bug 47878 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
      
    </bug>

</bugzilla>