Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36035 - gcc 3.3.2 compile crashes while trying to emerge --update on glibc (says internal compiler error)
Summary: gcc 3.3.2 compile crashes while trying to emerge --update on glibc (says inte...
Status: RESOLVED FIXED
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-17 18:16 UTC by scope
Modified: 2004-04-18 22:41 UTC (History)
2 users (show)

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 scope 2003-12-17 18:16:04 UTC
here is the steps leading up to the error:

if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -O2 -mcpu=athlon-xp -pipe -I. -I/var/tmp/portage/gcc-3.3.2-r4/work/gcc-3.3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic /var/tmp/portage/gcc-3.3.2-r4/work/gcc-3.3.2/libiberty/cplus-dem.c -o pic/cplus-dem.o; \
else true; fi
In file included from /var/tmp/portage/gcc-3.3.2-r4/work/gcc-3.3.2/include/xregex.h:26,
                 from /var/tmp/portage/gcc-3.3.2-r4/work/gcc-3.3.2/libiberty/regex.c:195:
/var/tmp/portage/gcc-3.3.2-r4/work/gcc-3.3.2/include/xregex2.h:548: warning: ISO C90 does not support `static' or type qualifiers in parameter array declarators
In file included from /var/tmp/portage/gcc-3.3.2-r4/work/gcc-3.3.2/libiberty/regex.c:649:
/var/tmp/portage/gcc-3.3.2-r4/work/gcc-3.3.2/libiberty/regex.c: In function `byte_regex_compile':
/var/tmp/portage/gcc-3.3.2-r4/work/gcc-3.3.2/libiberty/regex.c:4255: 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 -DHAVE_CONFIG_H -O2 -mcpu=athlon-xp -pipe -I. -I/var/tmp/portage/gcc-3.3.2-r4/work/gcc-3.3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic /var/tmp/portage/gcc-3.3.2-r4/work/gcc-3.3.2/libiberty/cplus-dem.c -o cplus-dem.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -O2 -mcpu=athlon-xp -pipe -I. -I/var/tmp/portage/gcc-3.3.2-r4/work/gcc-3.3.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic /var/tmp/portage/gcc-3.3.2-r4/work/gcc-3.3.2/libiberty/cp-demangle.c -o pic/cp-demangle.o; \
else true; fi
The bug is not reproduceable, so it is likely a hardware or OS problem



Reproducible: Sometimes
Steps to Reproduce:
seems to happen same point of time when compiling gcc. it did a similar error when updating xchat but i tried again and it didn't happen


Expected Results:  
not gave an error

programs had running: named, apache2, epic, gpm

junk@lizzy junk $ emerge info
Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r1)
============================================================
=====
System uname: 2.4.22-gentoo-r1 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=athlon-xp -funroll-loops -pipe"
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/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /usr/X11R6/bin/startx /etc/env.d"
CXXFLAGS="-O3 -mcpu=athlon-xp -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 
imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss 
pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 
xmms xv zlib"
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-11 14:18:09 UTC
Why are you updating to gcc-3.3.2-r4?
Comment 2 Joshua Kinard gentoo-dev 2004-02-11 14:24:31 UTC
Try dropping the -funroll-loops and cutting the -O3 down to -O2, see if the issue persists.
Comment 3 Alexander Gabert (RETIRED) gentoo-dev 2004-03-04 05:17:04 UTC
is this problem still existing, did you try to upgrade to a newer version of gcc?
Comment 4 SpanKY gentoo-dev 2004-04-18 22:41:11 UTC
please re-open if you're still having issues with latest stable gcc