Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65801 - GCC does not work after upgrade to gcc 3.3.4-r1, emerge fails with various configure error messages
Summary: GCC does not work after upgrade to gcc 3.3.4-r1, emerge fails with various co...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-29 05:24 UTC by Karl Kaputnik
Modified: 2004-10-02 10:55 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 Karl Kaputnik 2004-09-29 05:24:48 UTC
I installed a new system from the 2004.1 (in some places it says 2004.0) LiveCD. I did started emerge -U world afterwoods, which worked fine. During the update gcc 3.3.4-r1 was installed. After a reboot I can't emerge anything. First the config.log file showed gcc command line errors: configure tried to run gcc --version , command not beeing supported by gcc 3.3.4. I installed sys-devel/gcc-compat then. Now I have different errors, still I can not emerge anything.

Some examples:
1. emerge host:
Calculating dependencies ...done!
>>> emerge (1 of 1) net-misc/host-991529 to /
>>> md5 src_uri ;-) host.tar.Z
>>> Unpacking source...
>>> Unpacking host.tar.Z to /var/tmp/portage/host-991529/work
>>> Source unpacked.
gcc -march=pentium3 -O3 -fomit-frame-pointer -pipe -DHOST_RES_SEND  -I. -I.   -c -o main.o main.c
gcc -march=pentium3 -O3 -fomit-frame-pointer -pipe -DHOST_RES_SEND  -I. -I.   -c -o info.o info.c
cc1: internal compiler error: in ix86_init_mmx_sse_builtins, at config/i386/i386.c:13073
Bitte senden Sie einen vollst
Comment 1 Karl Kaputnik 2004-09-29 05:24:48 UTC
I installed a new system from the 2004.1 (in some places it says 2004.0) LiveCD. I did started emerge -U world afterwoods, which worked fine. During the update gcc 3.3.4-r1 was installed. After a reboot I can't emerge anything. First the config.log file showed gcc command line errors: configure tried to run gcc --version , command not beeing supported by gcc 3.3.4. I installed sys-devel/gcc-compat then. Now I have different errors, still I can not emerge anything.

Some examples:
1. emerge host:
Calculating dependencies ...done!
>>> emerge (1 of 1) net-misc/host-991529 to /
>>> md5 src_uri ;-) host.tar.Z
>>> Unpacking source...
>>> Unpacking host.tar.Z to /var/tmp/portage/host-991529/work
>>> Source unpacked.
gcc -march=pentium3 -O3 -fomit-frame-pointer -pipe -DHOST_RES_SEND  -I. -I.   -c -o main.o main.c
gcc -march=pentium3 -O3 -fomit-frame-pointer -pipe -DHOST_RES_SEND  -I. -I.   -c -o info.o info.c
cc1: internal compiler error: in ix86_init_mmx_sse_builtins, at config/i386/i386.c:13073
Bitte senden Sie einen vollständigen Fehlerbericht auf Englisch ein;
bearbeiten Sie die Quellen zunächst mit einem Präprozessor, wenn es
dienlich ist.
Fehler in der deutschen Übersetzung sind an de@li.org zu melden.

Gehen Sie gemäß den Hinweisen in <URL:http://bugs.gentoo.org/> vor.
cc1: internal compiler error: in ix86_init_mmx_sse_builtins, at config/i386/i386.c:13073
Bitte senden Sie einen vollständigen Fehlerbericht auf Englisch ein;
bearbeiten Sie die Quellen zunächst mit einem Präprozessor, wenn es
dienlich ist.
Fehler in der deutschen Übersetzung sind an de@li.org zu melden.

Gehen Sie gemäß den Hinweisen in <URL:http://bugs.gentoo.org/> vor.
make: *** [info.o] Fehler 1
make: *** Warte auf noch nicht beendete Prozesse...
make: *** [main.o] Fehler 1

!!! ERROR: net-misc/host-991529 failed.
!!! Function src_compile, Line 33, Exitcode 2
!!! emake failed

2. emerge bind-tools:
Calculating dependencies ...done!
>>> emerge (1 of 1) net-dns/bind-tools-9.2.3-r1 to /
>>> md5 src_uri ;-) bind-9.2.3.tar.gz
>>> Unpacking source...
>>> Unpacking bind-9.2.3.tar.gz to /var/tmp/portage/bind-tools-9.2.3-r1/work
>>> Source unpacked.
 * Using GNU config files from /usr/share/libtool
 *  Updating contrib/idn/idnkit-1.0-src/config.sub                                                                                       [ ok ]
 *  Updating contrib/nslint-2.1a3/config.sub                                                                                             [ ok ]
 *  Updating config.sub                                                                                                                  [ ok ]
 *  Updating contrib/idn/idnkit-1.0-src/config.guess                                                                                     [ ok ]
 *  Updating contrib/nslint-2.1a3/config.guess                                                                                           [ ok ]
 *  Updating config.guess                                                                                                                [ ok ]
ipv6
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets ${MAKE}... yes
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for a BSD-compatible install... /bin/install -c
checking for ar... /usr/bin/ar
checking for etags... no
checking for emacs-etags... no
checking for perl5... no
checking for perl... /usr/bin/perl
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables

!!! ERROR: net-dns/bind-tools-9.2.3-r1 failed.
!!! Function econf, Line 362, Exitcode 77
!!! econf failed

3. emerge portage:
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/portage-2.0.50-r11 to /
>>> md5 src_uri ;-) portage-2.0.50-r11.tar.bz2
>>> Unpacking source...
>>> Unpacking portage-2.0.50-r11.tar.bz2 to /var/tmp/portage/portage-2.0.50-r11/work
>>> Source unpacked.
cc1: internal compiler error: in ix86_init_mmx_sse_builtins, at config/i386/i386.c:13073
Bitte senden Sie einen vollständigen Fehlerbericht auf Englisch ein;
bearbeiten Sie die Quellen zunächst mit einem Präprozessor, wenn es
dienlich ist.
Fehler in der deutschen Übersetzung sind an de@li.org zu melden.

Gehen Sie gemäß den Hinweisen in <URL:http://bugs.gentoo.org/> vor.
./create-localdecls
Checking truncate argument type... off_t
Checking libc version... libc.so.6
Checking glibc subversion... 2.3

gcc -march=i386 -O1 -pipe  -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -Wall -c libsandbox.c
libsandbox.c: In Funktion »init_wrappers«:
libsandbox.c:247: internal compiler error: Speicherzugriffsfehler
Bitte senden Sie einen vollständigen Fehlerbericht auf Englisch ein;
bearbeiten Sie die Quellen zunächst mit einem Präprozessor, wenn es
dienlich ist.
Fehler in der deutschen Übersetzung sind an de@li.org zu melden.

Gehen Sie gemäß den Hinweisen in <URL:http://bugs.gentoo.org/> vor.
{standard input}: Assembler messages:
{standard input}:47: Warning: partial line at end of file ignored
Preprocessed source stored into /var/tmp/portage/portage-2.0.50-r11/temp/cc8QFAZJ.out file, please attach this to your bugreport.
make: *** [libsandbox.o] Fehler 1

!!! ERROR: sys-apps/portage-2.0.50-r11 failed.
!!! Function src_compile, Line 63, Exitcode 2
!!! (no error message)




Reproducible: Always
Steps to Reproduce:
1. Install gentoo using 2004.1 live cd
2. emerge -U world (including gcc 3.3.4-r1)
3. reboot
4. try to emerge anything

Actual Results:  
gcc does not work any more, stop with errors


emerge info:
Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1,
2.6.8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 Celeron (Coppermine)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acpi alsa apm arts avi berkdb bitmap-fonts crypt cups directfb encode
ethereal fbcon foomaticdb gdbm gif gpm gtk gtk2 imlib ipv6 jpeg kde libg++
libwww linguas_de mad mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl
pam pcmcia pdflib perl png pnp ppds python qt quicktime readline sdl slang spell
sse ssl svg svga tcpd threads truetype unicode usb wavelan x86 xml2 xmms xprint
xv zlib"


cat /proc/cpuinfo:
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 8
model name      : Celeron (Coppermine)
stepping        : 10
cpu MHz         : 902.451
cache size      : 128 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 mmx fxsr sse
bogomips        : 1777.66
Comment 2 Karl Kaputnik 2004-10-02 10:55:38 UTC
duplicate bug, reinstalled gcc from binaries.