Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130990 - Segmentation fault after upgrading GCC, cannot compile anything
Summary: Segmentation fault after upgrading GCC, cannot compile anything
Status: RESOLVED DUPLICATE of bug 20600
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-23 10:26 UTC by Salim Fadhley
Modified: 2006-04-23 11:39 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 Salim Fadhley 2006-04-23 10:26:12 UTC
Pretty much anything I build seems to fail; see the following example of attempting to rebuild gcc, plus emerge info ouput afterwards. 

/var/tmp/portage/gcc-3.4.5/work/gcc-3.4.5/libiberty/../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.4.5/work/gcc-3.4.5/libiberty/regex.c:649:
/var/tmp/portage/gcc-3.4.5/work/gcc-3.4.5/libiberty/regex.c: In function `byte_compile_range':
/var/tmp/portage/gcc-3.4.5/work/gcc-3.4.5/libiberty/regex.c:4548: warning: signed and unsigned type in conditional expression
/var/tmp/portage/gcc-3.4.5/work/gcc-3.4.5/libiberty/regex.c:4558: warning: signed and unsigned type in conditional expression
/var/tmp/portage/gcc-3.4.5/work/gcc-3.4.5/libiberty/regex.c:4558: warning: signed and unsigned type in conditional expression
/var/tmp/portage/gcc-3.4.5/work/gcc-3.4.5/libiberty/regex.c: In function `xregcomp':
/var/tmp/portage/gcc-3.4.5/work/gcc-3.4.5/libiberty/regex.c:8043: warning: signed and unsigned type in conditional expression
/var/tmp/portage/gcc-3.4.5/work/gcc-3.4.5/libiberty/regex.c: At top level:
/var/tmp/portage/gcc-3.4.5/work/gcc-3.4.5/libiberty/regex.c:8178: warning: unused parameter 'preg'
/var/tmp/portage/gcc-3.4.5/work/gcc-3.4.5/libiberty/regex.c: In function `byte_regex_compile':
/var/tmp/portage/gcc-3.4.5/work/gcc-3.4.5/libiberty/regex.c:3298: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/gcc-3.4.5/temp/ccEl6ogp.out file, please attach this to your bugreport.
make[1]: *** [regex.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.5/work/build/libiberty'
make: *** [all-libiberty] Error 2

!!! ERROR: sys-devel/gcc-3.4.5 failed.
!!! Function gcc_do_make, Line 1325, Exitcode 2
!!! emake failed with profiledbootstrap
!!! If you need support, post the topmost build error, NOT this status message.

Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.16-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 64bit X Xaw3d aac acpi alsa amarok apm applet aqua_theme arts asf async audiofile avalon avantgo avi bash-completion beep berkdb bitmap-fonts bittorrent bluetooth bonjour bootsplash browserplugin bzip2 cddb cdparanoia cdr cdrom cli crypt cups curl cvs divx djbfft dlloader dri dv dvb dvd dvdr dvdread eds emacs emboss encode esd exif expat extrafilters fam fame ffmpeg fftw firefox font-server foomaticdb fortran gdbm gif glut gnome gphoto2 gpm gstreamer gtalk gtk gtk2 gtkhtml h323 httpd idn imagemagick imlib ipv6 isdnlog jack java javascript jikes joystick jpeg jpeg2k junit jython kde lcms logrotate lzo lzw lzw-tiff mad mjpeg mmap mng mp3 mpeg mpm-threadpool musepack music musicbrainz ncurses netboot network nls nptl nsplugin ogg oggvorbis opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection ruby samba scanner screen server session sox spell spl sql sqlite sqlite3 ssl subversion swarmcache swat symlink tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd visualization vnc vorbis web webdav wxwindows x11vnc xanim xine xinerama xinetd xml2 xmms xorg xosd xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-23 11:39:34 UTC
Check your hardware (esp. RAM), no proof that it's gcc fault here. See the other bug for more suggestions.

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