Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48293 - gcc build gave internal compiler error (segmentation fault) while running bootstrap.sh
Summary: gcc build gave internal compiler error (segmentation fault) while running boo...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-18 23:55 UTC by Agam Brahma
Modified: 2004-07-11 14:05 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 Agam Brahma 2004-04-18 23:55:10 UTC
I am running an athlon-xp - there are no memory or disk space issues. I am unable to do a successful execution of scripts/bootstrap.sh since it gets stuck at compiling gcc every time, with an internal compiler errpr


Reproducible: Always
Steps to Reproduce:
1. scripts/bootstrap.sh (on my machine atleast ! :( ... )
2.
3.

Actual Results:  
gcc -c   -O -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-r5/work/gcc-3.3.2/gcc
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/.
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/config
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/../include
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/tree.c -o tree.o
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/toplev.c: In function
`decode_g_option':
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/toplev.c:4286: internal
compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
gcc -c   -O -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-r5/work/gcc-3.3.2/gcc
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/.
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/config
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/../include
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/tree-dump.c -o tree-dump.o
The bug is not reproduceable, so it is likely a hardware or OS problem
make[2]: *** [toplev.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/gcc-3.3.2-r5/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.2-r5/work/build/gcc'
make: *** [bootstrap-lean] Error 2

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



Expected Results:  
It should have completed the bootstrap process


RENEGADE portage # emerge info
Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-4mdk)
=================================================================
System uname: 2.6.3-4mdk i686
Gentoo Base System version 1.4.3.13
Autoconf:
Automake:
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
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/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
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.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apm arts audiofile avi berkdb crypt encode esd flac
foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml imagemajick imlib jpeg
kde libg++ libwww mad mikmod mmx motif mozilla mpeg msn ncurses nls oggvorbis
opengl oss pam pdflib png python qt quicktime readline samba sdl slang socks5
spell ssl svga tcltk tcpd tiff truetype unicode x86 xml xml2 xmms xosd xv yahoo
zlib"
Comment 1 Travis Tilley (RETIRED) gentoo-dev 2004-07-11 14:05:17 UTC
3.3.2-r5 is no longer in the tree. please re-open this bug if it occurs in newer releases