Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35073 - segmentation fault while compiling gcc-3.2.3-r3
Summary: segmentation fault while compiling gcc-3.2.3-r3
Status: RESOLVED DUPLICATE of bug 25980
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: 2003-12-04 11:46 UTC by Jedi
Modified: 2005-07-17 13:06 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 Jedi 2003-12-04 11:46:28 UTC
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"

emerge -upv world
[ebuild     U ] sys-devel/gcc-3.2.3-r3 [3.2.3-r2] -static +nls -bootstrap +java
-build 
[ebuild     U ] games-emulation/xmame-0.77.1 [0.76.1] +sdl +dga +xv +alsa +esd
+opengl +X -3dfx +svga -ggi +arts +joystick -icc 
[ebuild     U ] net-www/mozilla-1.5-r1 [1.4-r3] +java +crypt -ipv6 +gtk2 +ssl
+ldap +gnome -debug -mozcalendar -mozxmlterm -moznoirc -moznomail -moznocompose
-moznoxft 
[ebuild     U ] media-gfx/blender-2.28c [2.27] +sdl +jpeg +png +mozilla
+truetype -static 
[ebuild     U ] games-emulation/xmess-0.77.1 [0.76.1] +sdl +dga +xv +alsa +esd
+opengl +X -3dfx +svga -ggi +arts +joystick -icc 
[ebuild     U ] net-misc/rsync-2.5.7 [2.5.6-r3] 

......
......

/bin/sh /var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/move-if-change
tmp-attrtab.c insn-attrtab.c
echo timestamp > s-attrtab
gcc -DIN_GCC    -O -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H   
-I. -I. -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc
-I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/.
-I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/config
-I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/../include -c insn-attrtab.c \
  -o insn-attrtab.o
insn-attrtab.c:40299: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[2]: *** [insn-attrtab.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gcc-3.2.3-r3/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.2.3-r3/work/build/gcc'
make: *** [bootstrap-lean] Error 2

!!! ERROR: sys-devel/gcc-3.2.3-r3 failed.
!!! Function src_compile, Line 411, Exitcode 2
!!! (no error message)

Reproducible: Always
Steps to Reproduce:
emerge -u world
Actual Results:  
segmentation fault
emerge fails

Expected Results:  
compilation successfull
emerge continue

Linux jedilinux.lds.it 2.4.20-gentoo-r8 #6 Tue Oct 28 19:39:32 CET 2003 i686
Pentium III (Coppermine) GenuineIntel GNU/Linux

sys-libs/glibc-2.3.2-r3
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-12-07 17:10:07 UTC

*** This bug has been marked as a duplicate of 25980 ***
Comment 2 Jedi 2003-12-10 11:34:39 UTC
now I solved my problem.

I was using 
USE="X gpm gtk2 gnome kde qt readline sse ssl tcpd pam mmx dga opengl nls joystick alsa cdr avi giff tiff png dvd"

but one or more of them causes my segfaults.
I have rebuild glibc and gcc with
USE="X gtk gnome kde"
and all works fine again.

I think the problem is not magical/gremlin (or better said voodoobug see http://c2.com/cgi/wiki?VoodooBug) is reprodicible at least on my poor p3 733 .