Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34608 - gcc-3.2.3-r3: new gcc version doesn't compile anything: C compiler cannot create executables
Summary: gcc-3.2.3-r3: new gcc version doesn't compile anything: C compiler cannot cre...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: Highest critical (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-28 02:26 UTC by Marvin Tapessur
Modified: 2003-12-01 14:09 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 Marvin Tapessur 2003-11-28 02:26:01 UTC
emerged -u my system and got the new gcc version gcc-3.2.3-r3. Now nothing 
compiles anymore. Getting the following message:
checking for C compiler default output... configure: error: C compiler cannot 
create executables

Reproducible: Always
Steps to Reproduce:
1. emerge -u world

any following emerge after gcc was emerged fails with above message.

Actual Results:  
checking for C compiler default output... configure: error: C compiler cannot 
create executables

Expected Results:  

go thru my configure script as programmed.
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-11-28 04:59:18 UTC
emerge -v info
Comment 2 Marvin Tapessur 2003-11-28 05:10:48 UTC
Here's the emerge -v info dump:

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gentoo-r8)
=================================================================
System uname: 2.4.20-gentoo-r8 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE=""
ARCH="x86"
AUTOCLEAN="yes"
BASH_ENV="/etc/portage/bashrc"
CC="gcc"
CFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CLASSPATH="/opt/blackdown-jdk-1.4.1/jre/lib/rt.jar:."
CLEAN_DELAY="5"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CVS_RSH="ssh"
CXX="g++"
CXXFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
FEATURES="sandbox ccache autoaddcvs"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/gentoo/"
GRP_STAGE23_USE="ipv6 pam tcpd readline nls ssl gpm perl python berkdb acl ncurses"
G_BROKEN_FILENAMES="1"
HOME="/root"
HOSTNAME="custweb01"
INFODIR="/usr/share/info:/usr/X11R6/info"
INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info"
INPUTRC="/etc/inputrc"
JAVAC="/opt/blackdown-jdk-1.4.1/bin/javac"
JAVA_HOME="/opt/blackdown-jdk-1.4.1"
JDK_HOME="/opt/blackdown-jdk-1.4.1"
LESS="-R"
LESSOPEN="|lesspipe.sh %s"
LOGNAME="root"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.png=01;35:*.mpg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:"
MAIL="/var/mail/root"
MAKEOPTS="-j2"
MANPATH="/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man:/usr/X11R6/man:/opt/blackdown-jdk-1.4.1/man:/usr/qt/3/doc/man"
NOCOLOR="false"
PAGER="/usr/bin/less"
PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.2:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_CACHEDIR="/var/cache/edb/dep/"
PORTAGE_CALLER="emerge"
PORTAGE_GID="250"
PORTAGE_MASTER_PID="6602"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PRELINK_PATH=""
PRELINK_PATH_MASK=""
PS1="\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]"
PWD="/root"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
RPMDIR="/usr/portage/rpm"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT="180"
SHELL="/bin/bash"
SHLVL="1"
SSH_CLIENT="172.17.17.42 1495 22"
SSH_CONNECTION="172.17.17.42 1495 172.16.16.200 22"
SSH_TTY="/dev/pts/0"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="xterm"
USE="x86 oss apm arts avi crypt cups encode foomaticdb gif imlib jpeg libg++ mad mikmod motif mpeg ncurses nls oggvorbis pdflib png quicktime sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline java mysql gpm tcpd pam libwww ssl perl python qt opengl mmx apache2 xml -X -gtk -gnome -gtk2 -kde -alsa"
USER="root"
USERLAND="GNU"
USE_EXPAND="VIDEO_CARDS INPUT_DEVICES LINGUAS"
USE_ORDER="env:conf:auto:defaults"
XARGS="xargs -r"
XINITRC="/etc/X11/xinit/xinitrc"
_="/usr/bin/emerge"
Comment 3 Marvin Tapessur 2003-11-28 07:47:24 UTC
I seem also emerged another system and there I have the exact same problem. GCC is completely broken, going back to gcc-3.2.3-r2 results in the following error:

Created "Makefile" in /var/tmp/portage/gcc-3.2.3-r2/work/build using "mh-frag" and "mt-frag"
gcc: installation problem, cannot exec `cc1': No such file or directory
*** The command 'gcc -o conftest  -march=pentium3 -pipe -O2   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

!!! ERROR: sys-devel/gcc-3.2.3-r2 failed.
!!! Function src_compile, Line 341, Exitcode 1
!!! (no error message)

Comment 4 Joshua Kinard gentoo-dev 2003-11-28 14:21:00 UTC
Marvin: the error messages provided don't tell alot of detail about the nature of the GCC error.  If you know a little bit of C, try creating & compiling a simple "hello world" binary, and if GCC fails on it, post the errors messages from that failure here.
Comment 5 Marvin Tapessur 2003-12-01 14:09:13 UTC
Reinstalled gcc-3.2.3-r2 via binary package. Needed server to be 100%.