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

Bug 40996

Summary: gcc-3.3.2-r7 segfaults on build
Product: Gentoo Linux Reporter: Gabriel Devenyi <ace>
Component: New packagesAssignee: Please assign to toolchain <gcc-porting>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Gabriel Devenyi 2004-02-09 12:01:19 UTC
stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c   -march=athlon-tbird -O2 -pipe -fprefetch-loop-arrays -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long   -DHAVE_CONFIG_H    -I. -I. -I/var/tmp/portage/gcc-3.3.2-r7/work/gcc-3.3.2/gcc -I/var/tmp/portage/gcc-3.3.2-r7/work/gcc-3.3.2/gcc/. -I/var/tmp/portage/gcc-3.3.2-r7/work/gcc-3.3.2/gcc/config -I/var/tmp/portage/gcc-3.3.2-r7/work/gcc-3.3.2/gcc/../include /var/tmp/portage/gcc-3.3.2-r7/work/gcc-3.3.2/gcc/combine.c -o combine.o
/var/tmp/portage/gcc-3.3.2-r7/work/gcc-3.3.2/gcc/combine.c: In function `try_combine':
/var/tmp/portage/gcc-3.3.2-r7/work/gcc-3.3.2/gcc/combine.c:2901: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproduceable, so it is likely a hardware or OS problem
make[2]: *** [combine.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gcc-3.3.2-r7/work/build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.2-r7/work/build/gcc'
make: *** [bootstrap-lean] Error 2

!!! ERROR: sys-devel/gcc-3.3.2-r7 failed.
!!! Function src_compile, Line 459, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1. Emerge gcc
2.
3.

Actual Results:  
segfault 

Expected Results:  
compile cleanly 

Portage 2.0.50 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 
2.6.2-mm1) 
================================================================= 
System uname: 2.6.2-mm1 i686 AMD Athlon(tm) processor 
Gentoo Base System version 1.4.3.12 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59 
Automake: sys-devel/automake-1.8.2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer -fforce-addr 
-fprefetch-loop-arrays" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer -fforce-addr 
-fprefetch-loop-arrays" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ 
http://adelie.polymtl.ca/ http://gentoo.mirror.sdv.fr 
http://mirror.tucdemonic.org/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync4.ca.gentoo.org/gentoo-portage" 
USE="3dnow S3TC X acpi acpi4linux alsa apm arts artswrappersuid avi berkdb cdr 
crypt cups dga dvd encode faad fbcon flac foomaticdb gif gtk gtk2 idea imlib 
java jikes jpeg kde libg++ libwww mad mmx motif mozilla moznocompose moznoirc 
moznomail mpeg ncurses oggvorbis opengl oss pam pdflib perl pic png ppds python 
qt quicktime readline samba scanner sdl slang spell sse ssl tcpd tiff truetype 
usb x86 xfs xml xml2 xmms xv xvid zlib"
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-11 13:33:55 UTC
Try with -march=athlon please.
Comment 2 Gabriel Devenyi 2004-02-11 21:12:49 UTC
Whoops, this isn't really a bug, its some stability issues on the hardware itself.