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

Bug 137845

Summary: emerge GCC 3.4.6-r1 failed: Internal compiler error
Product: Gentoo Linux Reporter: Mats Liljegren <mats.liljegren>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED NEEDINFO    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Output generated from the "emerge gcc" command.
Resulting output when emerging gcc-3.4.5-r1 instead.
Resulting output when emerging gcc-3.4.5-r1 instead.

Description Mats Liljegren 2006-06-24 07:18:13 UTC
I'm trying the command "emerge gcc", and is responded with an internal compiler error. Attaching the output of the command.

Here's my emerge info:

Gentoo Base System version 1.12.1
Portage 2.1 (default-linux/amd64/2005.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r7 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts browserplugin cli crypt cups dri eds emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde lzw lzw-tiff mozilla mp3 mpeg ncurses nls nptl nptlonly nsplugin opengl pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype-fonts type1-fonts usb xorg xpm xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Mats Liljegren 2006-06-24 07:20:50 UTC
Created attachment 90023 [details]
Output generated from the "emerge gcc" command.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-06-24 07:27:04 UTC
Can you reproduce it, i.e. - does it fail again at *exactly* the same place?
Comment 3 Mats Liljegren 2006-06-24 07:52:47 UTC
Yes, I can reproduce it and get the same error on the same place.

See following topic in the Gentoo forums for someone who seems to have a similar problem to mine:

http://forums.gentoo.org/viewtopic-t-473079-highlight-gcc+internal+compiler+error.html

I had problems emerging other packages too, but adding "-pipe" solved the emerges before gcc.
 

Comment 4 SpanKY gentoo-dev 2006-06-24 16:21:43 UTC
no, that user's error is nothing like yours

can you re-emerge gcc-3.4.5-r1 ?
Comment 5 Mats Liljegren 2006-06-25 01:25:09 UTC
Created attachment 90078 [details]
Resulting output when emerging gcc-3.4.5-r1 instead.
Comment 6 Mats Liljegren 2006-06-25 02:26:01 UTC
Created attachment 90079 [details]
Resulting output when emerging gcc-3.4.5-r1 instead.
Comment 7 Mats Liljegren 2006-06-25 07:38:29 UTC
I have now succeeded with emerging gcc-3.4.6. I used the following line:

USE="-fortran -gtk" emerge gcc

By disabling fortran and gtk, I managed to get it working.

I leave it to someone else to decide whether this means that this bug report may be closed or not. For me the problem is resolved by this, unless the missing features causes other problems in the future...