Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78014 - Internal compiler error with g++. Not sure what trickers it
Summary: Internal compiler error with g++. Not sure what trickers it
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-14 13:30 UTC by Peter Poulsen
Modified: 2005-01-15 13:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Out produced by GCC (I guess) (ccXfHnAS.out,1.34 MB, text/plain)
2005-01-14 13:33 UTC, Peter Poulsen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Poulsen 2005-01-14 13:30:56 UTC
When I try to build a program I have written (it is rather large so I cannot post it here) it stops with a "internal compiler error: in tree_low_cst, at tree.c:3253".



Reproducible: Always
Steps to Reproduce:
1. Run make in the directory of my application
2.
3.

Actual Results:  
I get the above mentioned error message: 

combat.cc:729: internal compiler error: in tree_low_cst, at tree.c:3253
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /tmp/ccXfHnAS.out file, please attach this to
your bugreport.



Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20040808-r1,
2.6.8.1 i686)
=================================================================
System uname: 2.6.8.1 i686 Mobile Intel(R) Pentium(R) 4     CPU 3.06GHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r2
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -mmmx -msse2 -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
COMPILER=""
/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /us
          
r/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /
          
usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/te
          
xmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -mmmx -msse2 -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.du.se/pub/os/gentoo http://ftp.du.se/pub/os/gentoo htt
          
p://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/gentoo ftp://mirror.pudas
          
.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X X509 Xaw3d aac aalib acpi acpi4linux aliaschain alsa apache2 apm arts
          
 artswrappersuid artworkextra auctex audiofile avi bash-completion bcmath bdf be
          
ep beepmp bidi bigger-fonts bitmap-fonts blender-game bonobo bootsplash bzip2 bz
          
lib cairo calendar cap cdda cddb cdinstall cdio cdparanoia cdr cdrom chroot clan
          
JavaScript clanVoice clisp cln cluster cmucl cnamefix codecs cpdflib cracklib cr
          
ypt cscope css ctype cups curl curlwrappers dbase dbm dbx dedicated devfs26 devm
          
ap dga dillo dio disablexmb distcache divx4linux dlopen dnd dnsdb doc dts dv dvd
          
 dvdread edl eds emacs emacs-w3 emoticon emul-linux encode escreen esd evms2 evo
          
 exif exim faad fame ffmpeg fftw flac flash fmod font-server foomaticdb foreign-
          
package foreign-sysvinit fpx freetds freetype ftp gb gcj gcl gd gif gimp gimppri
          
nt ginac gkrellm glade glep glgd glut gmp gmthigh gmtsuppl gmttria gnome gnomedb
          
 gnuplot gnustep gpg graphviz gs gsl gstreamer gtk gtk2 gtkhtml hal hardened har
          
denedphp httpd icq idea imagemagick imap imlib imlib2 immqt immqt-bc innodb ipv6
          
 ipv6arpa jabber jack jack-tmpfs java javacomm javamail javascript jbig jce jike
          
s jp2 jpeg jpeg2k junit justify kde koffice-plugin latex lcms ldap leim lesstif
           
libcaca libedit libwww live lua lufsusermount lynxkeymap lzo lzw lzw-tiff mad ma
          
ilbox maildir make-busybox-symlinks makecheck maps matroska mbox md5sum mdb meml
          
imit mime ming mixer mjpeg mmx mng monkey mono motif mozdevelop mozilla mozsvg m
          
p3 mpeg mpeg2 mpeg4 mplayer msn mule multi-tty multipleip multislot music mysql
           
mythtv mzscheme native ncurses net netbeans nethack network nls nntp no-old-linu
          
x nocd nptl nvidia offensive ogg oggvorbis ooo-kde openal opengl oss pcntl pdf p
          
dflib perl perlsuid php pic pie playlist plotutils png portaudio posix postgres
           
ppds python qmail qt quicktime readline real roundrobin rtc sbcl sdl semanticfix
          
 sendfile server session sftplogging shaper silverxp simplexml slp sndfile snmp
           
sockets sounds spell spl sqlite sqlite3 sse sse2 ssl stream svg svga syslog tclt
          
k tcpd tetex tga threads tiff tokenizer transcode truetype truetype-fonts type1
           
type1-fonts uml underscores unicode uptimed usb utf8 vhosts videos vidix vim vim
          
-with-x virus-scan vlm vnc vorbis withsamplescripts wma123 wmf wsconvert wxwindo
          
ws xanim xchatdccserver xchattext xemacs xface xine xinerama xml xml2 xmlrpc xmm
          
s xosd xpm xscreensaver xsl xslt xv xvid xvmc yv12 zlib"

# cat /etc/portage/package.use
dev-php/php             -libedit
dev-php/mod_php         -libedit
sys-devel/gcc           -hardened
x11-base/xorg-x11       -hardened

# gcc --version
gcc (GCC) 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Comment 1 Peter Poulsen 2005-01-14 13:33:56 UTC
Created attachment 48493 [details]
Out produced by GCC (I guess)
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2005-01-14 14:00:22 UTC
compiler segfaults are usually a sign of overstressed system, like either you bave some bad ram or you're simply running out of it while compiling.

anyway, not much we can do for this.
Comment 3 Peter Poulsen 2005-01-15 00:55:46 UTC
I have switched to gcc 3.3.4 and now it compiles. But I still think it is a bug (just in 3.3.5)

Comment 4 Peter Poulsen 2005-01-15 13:32:36 UTC
This small program can generate the error. It appears to be a general error in gcc

int main()
{
	int _dummy_sets[0] = { };
	return 0;
}