Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GCC compile fails when using multilib
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
topace3
n00b
n00b


Joined: 05 Apr 2005
Posts: 10
Location: Stockholm, Sweden

PostPosted: Tue Apr 05, 2005 3:30 pm    Post subject: GCC compile fails when using multilib Reply with quote

I'm quite new both to Gentoo as a whole and the AMD64 version of it, and reading the manuals, I tried to emerge gcc-3.4.3-r1 after appending "multilib" to my USE flags. here's the error:

/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-li
nux-gnu/3.4.3/../../../libc.so when searching for -lc
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-li
nux-gnu/3.4.3/../../../libc.a when searching for -lc
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.so when sea
rching for -lc
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.a when sear
ching for -lc
/usr/x86_64-pc-linux-gnu/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make[3]: *** [32/libgcc_s_32.so] Error 1
make[3]: Leaving directory `/var/tmp/portage/gcc-3.4.3-r1/work/build/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.3-r1/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.3-r1/work/build/gcc'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-3.4.3-r1 failed.
!!! Function gcc_do_make, Line 1138, Exitcode 2
!!! make failed with profiledbootstrap
!!! If you need support, post the topmost build error, NOT this status message.

GCC compiles without problems if I unset the multilib useflag, however, the error bugs me.

My make.conf file looks like this:

CFLAGS="-O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"

GENTOO_MIRRORS="ftp://ftp.du.se/pub/os/gentoo http://gentoo.osuosl.org http://www.ib
iblio.org/pub/Linux/distributions/gentoo http://mirror.pudas.net/gentoo"
SYNC="rsync://mirror.pudas.net/gentoo-portage"

USE="-oss -apm -arts -cups -fortran -f77 -gdbm -motif -kde -gnome jpeg oggvorbis opengl openal fbcon pdflib png python svga truetype truetype-fonts X zlib bzlib imap mbox mmx multilib unicode aalib bash-completion divx4linux nocd mad nptl"

Can someone please help me?
_________________
Remember: Once you head down the Dark Path, forever will it dominate your destiny
-Yoda
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Tue Apr 05, 2005 3:39 pm    Post subject: Reply with quote

Please see this topic: https://forums.gentoo.org/viewtopic-t-309902.html

Moved from Gentoo on AMD64.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum