Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63818 - Gcc-3.4.2-r1 failed to compile using Gcc-3.3.4-r1
Summary: Gcc-3.4.2-r1 failed to compile using Gcc-3.3.4-r1
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-12 12:28 UTC by William Wolf
Modified: 2004-12-06 20:43 UTC (History)
0 users

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 William Wolf 2004-09-12 12:28:11 UTC
I'm using 2004.3 profile, and when I try to emerge gcc-3.4.2-r1 it fails to compile.

Reproducible: Always
Steps to Reproduce:
1.emerge gcc -u
Actual Results:  
checking for setenv declaration... yes
checking for setenv... yes
updating cache ./config.cache
checking for gxx-include-dir...
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/include/g++-v3
checking for --enable-version-specific-runtime-libs... yes
checking for install location...
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/include/g++-v3
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating libmath/Makefile
config.status: creating libsupc++/Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile
config.status: creating testsuite/Makefile
config.status: creating scripts/check_survey
config.status: creating scripts/testsuite_flags
config.status: creating config.h
config.status: executing default-1 commands
Adding multilib support to Makefile in
/var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/libstdc++-v3
multidirs=32
with_multisubdir=
Running configure in multilib subdirs 32
pwd: /var/tmp/portage/gcc-3.4.2-r1/work/build/x86_64-pc-linux-gnu/libstdc++-v3
Running configure in multilib subdir 32
pwd: /var/tmp/portage/gcc-3.4.2-r1/work/build/x86_64-pc-linux-gnu
mkdir 32
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.2-r1/work/build/gcc/xgcc
-B/var/tmp/portage/gcc-3.4.2-r1/work/build/gcc/ -B/usr/x86_64-pc-linux-gnu/bin/
-B/usr/x86_64-pc-linux-gnu/lib/ -isystem /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... 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: *** [configure-target-libstdc++-v3] Error 1

!!! ERROR: sys-devel/gcc-3.4.2-r1 failed.
!!! Function gcc_do_make, Line 857, Exitcode 2
!!! (no error message)
Comment 1 Brandon Low (RETIRED) gentoo-dev 2004-09-13 14:04:30 UTC
Have you upgraded your libstdc++-v3 already?  I think it tries to go after GCC but might need to go first or something.
Comment 2 David Arias 2004-09-18 14:49:34 UTC
I (fortunately for me) had no problems compiling gcc-3.4.2-r1 from gcc-3.4.1-r2.

libstdc++-3.3.4

~amd64
Comment 3 Lares Weaselle 2004-09-25 19:32:11 UTC
I had a similar problem, but with gcc-3.4.1-r2.  I solved (VIA Lv's Suggestion)

<lv> lares, FEATURES="-sandbox" USE="multilib" emerge gcc portage
<lv> portage to get you a 32bit sandbox
<lv> then you dont need to disable it ever again
Comment 4 SpanKY gentoo-dev 2004-12-06 20:43:54 UTC
seems ok now