Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63377 - gcc 3.4.1-r2 w/ multilib broken; error: C compiler cannot create executables
Summary: gcc 3.4.1-r2 w/ multilib broken; error: C compiler cannot create executables
Status: RESOLVED DUPLICATE of bug 53254
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High major
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-08 18:17 UTC by James Couzens
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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 James Couzens 2004-09-08 18:17:48 UTC
Below is the output illustrating the problem.  This is just after a fresh upgrade of glibc:

*  sys-libs/glibc
      Latest version available: 2.3.4.20040619-r1
      Latest version installed: 2.3.4.20040619-r1
      Size of downloaded files: 15,544 kB
      Homepage:    http://sources.redhat.com/glibc/
      Description: GNU libc6 (also called glibc2) C library
      License:     LGPL-2

-- snip!
Adding multilib support to Makefile in /var/tmp/portage/gcc-3.4.1-r2/work/gcc-3.4.1/libstdc++-v3
multidirs=32
with_multisubdir=
Running configure in multilib subdirs 32
pwd: /var/tmp/portage/gcc-3.4.1-r2/work/build/x86_64-pc-linux-gnu/libstdc++-v3
Running configure in multilib subdir 32
pwd: /var/tmp/portage/gcc-3.4.1-r2/work/build/x86_64-pc-linux-gnu
configure: creating cache ./config.cache
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-gcc... /var/tmp/portage/gcc-3.4.1-r2/work/build/gcc/xgcc -B/var/tmp/portage/gcc-3.4.1-r2/work/build/gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isy
em /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include  -m32
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.1-r2/work/build'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-3.4.1-r2 failed.
!!! Function src_compile, Line 690, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 James Couzens 2004-09-10 17:32:59 UTC
any update on this, its not even assigned yet!
Comment 2 James Couzens 2004-09-10 17:39:58 UTC
ok so I'm blind, its assigned, but I'm still curious about any update.  If I can help at all regarding this please inform me.
Comment 3 Adrian Almenar 2004-09-15 11:25:57 UTC
you have compiled portage with multilib support ?

It may sound strange but i think its a problem with the sandbox, or to be more exactly with the sandbox with no support for 32-bit binaries.

Try adding multilib and compile portage first, then try again, i solved it this way.
Comment 4 Adrian Almenar 2004-09-15 11:30:32 UTC
This is exactly the same error on bug #53254.

This one can be closed as a DUPLICATE of that bug.
Comment 5 Tom Martin (RETIRED) gentoo-dev 2004-10-25 15:52:44 UTC

*** This bug has been marked as a duplicate of 53254 ***