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.
Created attachment 58150 [details] output from emerge info
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)
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.
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
*** Bug 92411 has been marked as a duplicate of this bug. ***
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