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

Bug 196287

Summary: sys-devel/gcc-4.2.2 fails to emerge on AMD64
Product: Gentoo Linux Reporter: Matt Turner <mattst88>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gcc amd64 build log

Description Matt Turner gentoo-dev 2007-10-18 14:05:51 UTC
gcc-4.2.2 fails to emerge, always with the same error.

Portage 2.1.3.14 (default-linux/amd64/2007.0, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-suspend2-r1 x86_64)
=================================================================
System uname: 2.6.22-suspend2-r1 x86_64 AMD Sempron(tm) Processor 2800+
Timestamp of tree: Thu, 18 Oct 2007 12:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.5-r3, 2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -march=k8 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-Os -march=k8 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j5"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi adns aiglx alsa amd64 audiofile automount bash-completion bitmap-fonts bluetooth browserplugin buttons bzip2 cairo cdb cdparanoia cdr cli cpudetection cracklib crypt cscope cups curl dbus divx dri dvd dvdr dvdread elf encode exif expat fbsplash ffmpeg firefox flac ftp fuse gif gimp gimpprint glib glitz glut glx gmedia gnome gnome-print gnutls gpm grammar gstreamer gtk gtk2 gtkhtml hal hddtemp iconv isdnlog java jikes jpeg jpeg2k lcms lzo mad maps math md5sum midi mmap mmx mmxext mng mono mozdevelop mozilla moznocompose moznoirc moznomail moznoxft mozsvg mp3 mpeg mudflap multislot musepack nautilus ncurses nfs nls nntp nptl nptlonly nsplugin ogg oggvorbis openal opengl openmp pam pcre pdf perl png ppds pppd print python qmax qt qt3 qt4 quicktime rar readline realmedia reflection rle rtc samba sdl sdl-image server session sms sndfile speex spell spl sqlite sqlite3 sse sse2 sse3 ssl svg t1lib tcpd tetex textures tga theora thesaurus threads tiff truetype truetype-fonts type1-fonts udev unicode urandom usb userlocales vcd vesa vorbis wma wmp wordperfect x264 xforms xml xml2 xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="ati radeon vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Reproducible: Always

Steps to Reproduce:
1. emerge gcc
2.
3.

Actual Results:  
/var/tmp/portage/sys-devel/gcc-4.2.2/work/build/./prev-gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.2.2/work/build/./prev-gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -c   -march=k8 -pipe -O2 -fprofile-generate -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute    -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/sys-devel/gcc-4.2.2/work/gcc-4.2.2/gcc -I/var/tmp/portage/sys-devel/gcc-4.2.2/work/gcc-4.2.2/gcc/. -I/var/tmp/portage/sys-devel/gcc-4.2.2/work/gcc-4.2.2/gcc/../include -I/var/tmp/portage/sys-devel/gcc-4.2.2/work/gcc-4.2.2/gcc/../libcpp/include  -I/var/tmp/portage/sys-devel/gcc-4.2.2/work/gcc-4.2.2/gcc/../libdecnumber -I../libdecnumber    insn-attrtab.c -o insn-attrtab.o

/var/tmp/portage/sys-devel/gcc-4.2.2/work/gcc-4.2.2/gcc/config/i386/i386.md: In function ‘internal_dfa_insn_code’:

/var/tmp/portage/sys-devel/gcc-4.2.2/work/gcc-4.2.2/gcc/config/i386/i386.md:201: internal compiler error: Segmentation fault

Please submit a full bug report,

with preprocessed source if appropriate.

Expected Results:  
gcc builds and installs correctly.
Comment 1 Matt Turner gentoo-dev 2007-10-18 14:08:34 UTC
Created attachment 133755 [details]
gcc amd64 build log
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-10-18 17:22:58 UTC
Attach the preprocessed source as the message told you if you can reproduce it again at *exactly* the same place. Thanks.
Comment 3 Matt Turner gentoo-dev 2007-10-18 21:52:23 UTC
My apologies.

This error was due to CPU instability. Removed the overclock -> gcc compiles.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-10-18 21:53:28 UTC
Well, thanks for reporting back then. :)
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-10-18 21:53:38 UTC

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