View previous topic :: View next topic |
Author |
Message |
sinetific n00b
Joined: 05 Nov 2003 Posts: 26
|
Posted: Tue Mar 22, 2005 7:06 pm Post subject: GCC 3.4.3 Update error. |
|
|
I get this error while emerging gcc during an emerge -u system
Code: |
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/../../libc.so when searching for -lc
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/../../libc.a when searching for -lc
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.a when searching 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.20050110-r1/work/build/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.3.20050110-r1/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.3.20050110-r1/work/build/gcc'
make: *** [profiledbootstrap] Error 2
!!! ERROR: sys-devel/gcc-3.4.3.20050110-r1 failed.
!!! Function gcc_do_make, Line 1165, Exitcode 2
!!! make failed with profiledbootstrap
!!! If you need support, post the topmost build error, NOT this status message.
|
|
|
Back to top |
|
|
seyanora n00b
Joined: 29 Oct 2004 Posts: 23 Location: Karlsruhe, Germany
|
Posted: Tue Mar 22, 2005 7:13 pm Post subject: |
|
|
same problem here |
|
Back to top |
|
|
Scottix n00b
Joined: 11 Mar 2005 Posts: 57
|
Posted: Wed Mar 23, 2005 5:38 pm Post subject: |
|
|
Same Problem |
|
Back to top |
|
|
sinetific n00b
Joined: 05 Nov 2003 Posts: 26
|
Posted: Wed Mar 23, 2005 11:10 pm Post subject: |
|
|
Hmm I read another thread and it seems there is a problem using multilib with the new version of GCC
Code: |
USE="-multilib" emerge gcc
|
That seems to solve the problem and allows you to update, But I wonder if this will cause problems with any of the programs compiled with multilib? |
|
Back to top |
|
|
seyanora n00b
Joined: 29 Oct 2004 Posts: 23 Location: Karlsruhe, Germany
|
Posted: Wed Mar 23, 2005 11:38 pm Post subject: |
|
|
yes ... i don't think it's a good solution .. have to wait ... |
|
Back to top |
|
|
brankob Apprentice
Joined: 29 Apr 2004 Posts: 188
|
Posted: Thu Mar 24, 2005 4:34 am Post subject: |
|
|
Sh*t.
I was just about to ask why all of the sudden I was left without "multilib" in the newest 2005.0 profile.
use.mask specifically disables it and LDPATH from /etc/env.d/04multilib is ignored
|
|
Back to top |
|
|
ziegs Tux's lil' helper
Joined: 29 Apr 2004 Posts: 119
|
Posted: Thu Mar 24, 2005 5:39 am Post subject: |
|
|
i had a similar problem. in order to fix it, make sure your symlinks to the 32-bit libs are correct. this is assuming you're using a 2004.3 profile, otherwise go back to the 2004.3 profile for now and reupgrade to it later as per the technotes.
make sure that /lib32 is a symlink pointing to /emul/linux/x86/lib and the /usr/lib32 is pointing to /emul/linux/x86/usr/lib
if you want to be sure they are you can do the following:
Code: | rm /lib32 /usr/lib32
ln -s /emul/linux/x86/lib /lib32
ln -s /emul/linux/x86/usr/lib /usr/lib32 |
also make sure your emul-* libraries are all installed and current. do an emerge search on them i guess, i don't remember which packages to re-emerge. after that try a merge of gcc:
Code: | USE="multilib" FEATURES="-sandbox" emerge gcc |
that did it for me anyway and i had the exact same error message. theres a post about it on the forums somewhere, but its hard to find using the search terms you'd expect to use...but thats defintely what i did to fix it (did it last night).
EDIT: here's where i found it. https://forums.gentoo.org/viewtopic-p-2202085.html#2202085 |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Fri Mar 25, 2005 2:13 pm Post subject: |
|
|
Moved from Gentoo on AMD64. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
|