Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52269 - gcc 3.4.0-r5 fails to compile wesnoth
Summary: gcc 3.4.0-r5 fails to compile wesnoth
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-28 08:07 UTC by Ernst Sjöstrand
Modified: 2004-05-29 13:47 UTC (History)
0 users

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


Attachments
Preprocessed file. (ccHP6vKR.out,1.12 MB, application/octet-stream)
2004-05-28 08:08 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-05-28 08:07:05 UTC
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
Comment 1 Ernst Sjöstrand 2004-05-28 08:07:05 UTC
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:
Comment 2 Ernst Sjöstrand 2004-05-28 08:08:27 UTC
Created attachment 32206 [details]
Preprocessed file.
Comment 3 SpanKY gentoo-dev 2004-05-28 13:51:20 UTC
i'd assume you tried with CFLAGS="-pipe" before filing a bug but i doubt that happened so could you ? ;)
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2004-05-28 13:56:06 UTC
try it with MAKEOPTS="-j1" too please.
Comment 5 SpanKY gentoo-dev 2004-05-28 16:11:13 UTC
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
Comment 6 Ernst Sjöstrand 2004-05-29 02:08:39 UTC
After some testing it seems like it's the "-ftracer" flag that does it.
You missed it in your crazy cflags!
Comment 7 SpanKY gentoo-dev 2004-05-29 13:47:08 UTC
thats because -ftracer is still a pretty new flag ... ive seen other packages break because of it

filtered that flag in the ebuild