Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 401043 - sys-devel/gcc doesn't compile on 32bit Suse - skipping incompatible /usr/lib/libc.so when searching for -lc
Summary: sys-devel/gcc doesn't compile on 32bit Suse - skipping incompatible /usr/lib/...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-27 15:56 UTC by Justin Lecher (RETIRED)
Modified: 2017-11-14 15:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2012-01-27 15:56:11 UTC
/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/ -B/opt/scisoft32/usr/i686-pc-linux-gnu/bin/ -B/opt/scisoft32/usr/i686-pc-linux-gnu/lib/ -isystem /opt/scisoft32/usr/i686-pc-linux-gnu/include -isystem /opt/scisoft32/usr/i686-pc-linux-gnu/sys-include    -O2 -pipe -march=core2 -g -O2  -O2 -pipe -march=core2 -g -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED    -I. -I. -I../.././gcc -I/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libgcc -I/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libgcc/. -I/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libgcc/../gcc -I/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libgcc/../include -I/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS  -DUSE_TLS -o unwind-sjlj_s.o -MT unwind-sjlj_s.o -MD -MP -MF unwind-sjlj_s.dep -DSHARED -fexceptions -c /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libgcc/../gcc/unwind-sjlj.c
/opt/scisoft32/usr/i686-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/opt/scisoft32/usr/i686-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/opt/scisoft32/usr/i686-pc-linux-gnu/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make[5]: *** [libgcc_s.so] Error 1
make[5]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/i686-pc-linux-gnu/64/libgcc'
make[4]: *** [multi-do] Error 1
make[4]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/i686-pc-linux-gnu/libgcc'
make[3]: *** [all-multi] Error 2
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/i686-pc-linux-gnu/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build'
make[1]: *** [stage1-bubble] Error 2

when removing the --enable-targets=all block from the toolchain.eclass it compiles fine.
Comment 1 Fabian Groffen gentoo-dev 2012-02-09 17:52:42 UTC
please post the output of
file /usr/lib/libc.so