Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 95640

Summary: emerge of gcc-3.4.4 fails: xgcc cannot run C compiled programs.
Product: Gentoo Linux Reporter: Steve Herber <herber>
Component: [OLD] DevelopmentAssignee: AMD64 Project <amd64>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2004.3   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Steve Herber 2005-06-10 00:38:14 UTC
A simple ~amd64 emerge gcc fails in the xgcc phase.

Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS=~amd64 emerge gcc
2.
3.

Actual Results:  
These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild     U ] sys-devel/gcc-3.4.4 [3.4.3.20050110-r2] (-altivec)
-bootstrap -boundschecking -build -debug +fortran -gcj +gtk -hardened -ip28
+multilib -multislot (-n32) (-n64) +nls -nocxx -nopie -nossp -objc -static
0 kB 

Total size of downloads: 0 kB

Do you want me to merge these packages? [Yes/No] 

checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-gcc...
/var/tmp/portage/gcc-3.4.4/work/build/gcc/xgcc
-B/var/tmp/portage/gcc-3.4.4/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[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.4/work/build'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-3.4.4 failed.
!!! Function gcc_do_make, Line 1204, Exitcode 2
!!! emake failed with profiledbootstrap
!!! If you need support, post the topmost build error, NOT this status
message.



Expected Results:  
gcc would have compiled.

emerge info
Portage 2.0.51.22-r1 (default-linux/amd64/2004.3, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.11-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5, 2.4.1
sys-apps/sandbox:    1.2.3
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS=" http://mirror.tucdemonic.org/gentoo
http://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo
http://gentoo.ccccom.com http://gentoo.osuosl.org/
http://gentoo.seren.com/gentoo
ftp://ftp.mirrors.ussg.iu.edu/pub/linux/gentoo/
ftp://mirror.scarlet-internet.nl/pub/gentoo ftp://gentoo.ccccom.com "
LANG="C"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa apache2 audiofile avi berkdb bitmap-fonts bootsplash
calendar cdparanoia cdr crypt cups curl dba dga doc dvd dvdr dvdread eds
esd evms2 exif fam firefox flac font-server foomaticdb fortran gd gif gnome
gpm gps gstreamer gtk gtk+ gtk2 imagemagick imlib ipv6 jabber jack java jp2
jpeg junit kerberos ldap libwww lzw lzw-tiff mad mikmod motif mozilla mp3
mpeg multilib mysql mythtv ncurses nls nptl nvidia ogg oggvorbis opengl oss
pam perl php png ppds python qt quicktime readline real sdl slang ssl tcltk
tcpd tiff truetype truetype-fonts type1-fonts usb userlocales v4l v4l2
vorbis xine xinerama xml xml2 xmms xpm xrandr xv xvidinfo zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Steve Herber 2005-06-10 21:56:24 UTC
My report looks like a duplicate of the second part of bug report 95212 where it
was first reported as a UML bug then reported as an amd64 problem.

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