g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/SDL -D_REENTRANT -DWESNOTH_PA TH=\"/usr/share/games/wesnoth\" -O3 -pipe -march=k8 -fomit-frame-pointer -ftrace r -fno-omit-frame-pointer -c -o display.o `test -f 'display.cpp' || echo './'`di splay.cpp I fil inkluderad fr
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/SDL -D_REENTRANT -DWESNOTH_PA TH=\"/usr/share/games/wesnoth\" -O3 -pipe -march=k8 -fomit-frame-pointer -ftrace r -fno-omit-frame-pointer -c -o display.o `test -f 'display.cpp' || echo './'`di splay.cpp I fil inkluderad från display.cpp:20: halo.hpp:48:7: varning: no newline at end of file display.cpp: In member function `void display::draw_bar(const std::string&, int, int, size_t, double, const SDL_Color&, double)': display.cpp:1268: varning: converting to `size_t' from `double' display.cpp: In member function `void display::create_buttons()': display.cpp:2112: internal compiler error: Segmenteringsfel Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /tmp/cczpoV8r.out file, please attach this to yo ur bugreport. Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.4.0, glibc-2.3.3_pre20040420-r0, 2.6.7-rc1-mm1) ================================================================= System uname: 2.6.7-rc1-mm1 i686 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.4.15 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -pipe -march=k8 -fomit-frame-pointer -ftracer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config /usr/kde/3/share/config /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="http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/bmg_overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac alsa apache2 apm avi berkdb bonobo cdr crypt cups curl dga doc dvd encode esd faad fam fbcon ffmpeg foomaticdb gcj gdbm gif gimpprint gnome gnomedb gnutls gphoto2 gpm gtk gtk2 icq imap imlib imlib2 jabber java jpeg kde libg++ libwww mad mikmod mmap mmx mng mono mpeg mpeg4 msn ncurses nls nptl objc offensive oggvorbis openal opengl oscar pam pda pdflib perl plotutils png pthreads python 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:
Created attachment 32206 [details] Preprocessed file.
i'd assume you tried with CFLAGS="-pipe" before filing a bug but i doubt that happened so could you ? ;)
try it with MAKEOPTS="-j1" too please.
i'm unable to reproduce with my crazy CFLAGS and same gcc version -pipe -march=pentium4 -O2 -frename-registers -fomit-frame-pointer -mmmx -msse -msse2 -fdelete-null-pointer-checks -funroll-loops -ffast-math -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
After some testing it seems like it's the "-ftracer" flag that does it. You missed it in your crazy cflags!
thats because -ftracer is still a pretty new flag ... ive seen other packages break because of it filtered that flag in the ebuild