Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91596 - Can't run "USE=multilib emerge gcc"
Summary: Can't run "USE=multilib emerge gcc"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
: 92411 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-05 11:33 UTC by Matt Engstrom
Modified: 2005-05-24 07:12 UTC (History)
1 user (show)

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


Attachments
output from emerge info (info.txt,1.75 KB, text/plain)
2005-05-05 11:34 UTC, Matt Engstrom
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Engstrom 2005-05-05 11:33:14 UTC
Trying to upgrade from 2004.3 to 2005.0.  Running the automated script gives me "Your compiler does not have multilib support.  Please emerge gcc with USE=multilib.  I try "USE=multilib emerge gcc" and get the error below...


Reproducible: Always
Steps to Reproduce:
1. run USE=multilib emerge gcc
2.
3.

Actual Results:  
emerge bombs out with the error posted...

Expected Results:  
Successful emerge of gcc.

checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled
programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.3-r1/work/build'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-3.4.3-r1 failed.
!!! Function gcc_do_make, Line 1137, Exitcode 2
!!! emake failed with profiledbootstrap
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Matt Engstrom 2005-05-05 11:34:31 UTC
Created attachment 58150 [details]
output from emerge info
Comment 2 Gen2 2005-05-10 13:19:14 UTC
1. change back to the 2004.3 profile
2. emerge gcc with the following command: FEATURES=-sandbox USE=multilb emerge gcc
3. emerge glibc
4. emerge portage
5. try the Make file again (should work now)
Comment 3 Matt Engstrom 2005-05-11 09:38:52 UTC
When I try FEATURES+-sandbox USE=multilib emerge gcc I get this:

/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 1137, Exitcode 2
!!! emake failed with profiledbootstrap
!!! If you need support, post the topmost build error, NOT this status message.

Comment 4 Simon Stelling (RETIRED) gentoo-dev 2005-05-21 03:00:50 UTC
when you go back to 2004.3, re-emerge emul-linux-x86-glibc, otherwise you can't
build gcc 32bit which will prevent you from building glibc 32bit
Comment 5 Simon Stelling (RETIRED) gentoo-dev 2005-05-21 03:38:14 UTC
*** Bug 92411 has been marked as a duplicate of this bug. ***
Comment 6 Matt Engstrom 2005-05-24 07:12:10 UTC
This was probably overkill, but it worked.  I did:

FEATURES=-sandbox USE=multilib emerge -ev system

Everything emerged successfully and after that, I was able to complete the
upgrade to 2005.0