Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63100 - ICE on Wesnoth 0.8.2 with gcc 3.4.1
Summary: ICE on Wesnoth 0.8.2 with gcc 3.4.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-07 01:11 UTC by Ernst Sjöstrand
Modified: 2004-09-14 10:57 UTC (History)
1 user (show)

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


Attachments
Preprocessed source. (ccSRqHKu.out,1.14 MB, text/plain)
2004-09-07 01:13 UTC, Ernst Sjöstrand
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ernst Sjöstrand 2004-09-07 01:12:00 UTC
-O2: works
-O3: works
-ftracer: works
-ftracer -O2: works

-ftracer -O3: ICE

g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/X11R6/include  -I/usr/include/SDL -D_REENTRANT -DWESNOTH_PATH=\"/usr/share/games/wesnoth\" -ftracer -O3 -D_X11  -I/usr/X11R6/include -fno-omit-frame-pointer -c -o display.o display.cpp
display.cpp: In member function `void display::create_buttons()':
display.cpp:2174: internal compiler error: Segmenteringsfel
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.

I have reproduced it a number of times. You should probably filter -ftracer .

emerge info:
Portage 2.0.51_pre20 (gcc34-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r2 i686 AMD Athlon(tm) 64 Processor 3200+)
=================================================================
System uname: 2.6.8-gentoo-r2 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -march=k8 -fomit-frame-pointer -ftracer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -march=k8 -fomit-frame-pointer -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.du.se/pub/os/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/private_overlay /usr/local/bmg_gnome_current /usr/local/bmg_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X aac acpi alsa apache2 apm avi berkdb bonobo bootsplash bzlib caps cddb cdr crypt cups curl dnd doc dvd encode esd evo faac fam fbcon ffmpeg foomaticdb gcj gdbm gif gimp gimpprint glade glut gmp gnome gnomedb gnutls gphoto2 gpm gtk2 gtkhtml howl icq imap imlib imlib2 jabber java jit jpeg kde ldap libg++ libwww mad mikmod mime mmap mmx mmx2 mng mono mozilla mpeg mpeg4 msn ncurses nls nptl nvidia objc offensive oggvorbis openal opengl oscar pam pdflib perl plotutils png pthreads python qt quicktime readline samba scanner sdk sdl slang spell ssl stencil-buffer svg svga tcltk tcpd theora threads tiff truetype type1 uml unicode usb x86 xine xml2 xv zlib"


Reproducible: Always
Steps to Reproduce:
Comment 1 Ernst Sjöstrand 2004-09-07 01:13:05 UTC
Created attachment 39115 [details]
Preprocessed source.
Comment 2 Nickolay Kolchin-Semyonov 2004-09-14 09:53:08 UTC
No problem with gcc-3.4.2-r1. (with -O3 -ftracer)
Comment 3 Ernst Sjöstrand 2004-09-14 10:57:00 UTC
Yes, no problems with GCC 3.4.2 and Wesnoth 0.8.4 !