Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81749 - Battle for Wesnoth ebuilds should filter -fomit-frame-pointer
Summary: Battle for Wesnoth ebuilds should filter -fomit-frame-pointer
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Games
URL: http://www.wesnoth.org/forum/viewtopi...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-12 08:56 UTC by Denis Dupeyron (RETIRED)
Modified: 2005-02-12 11:38 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 Denis Dupeyron (RETIRED) gentoo-dev 2005-02-12 08:56:37 UTC
When emerged with -fomit-frame-pointer in CFLAGS, Battle for Wesnoth will crash at the end of each scenario (that is often in the tutorial, for example). I have this problem since version 0.8.7 (first version I ever tried) and up to 0.8.7 (latest), and even with latest gcc (3.4.3).

When -fomit-frame-pointer is filtered in the ebuild, the problem disappears.

Reproducible: Always
Steps to Reproduce:
1. Have -fomit-frame-pointer in your CFLAGS
2. emerge games-strategy/wesnoth (I have tried versions 0.8.7 to 0.8.10, but shouldn't matter)
3. Start wesnoth, play the tutorial

Actual Results:  
At the end of the first lesson the game crashes. It's impossible to play lessons
2 and up.

Expected Results:  
The ebuild should filter -fomit-frame pointer. That's probably only for x86, though.

emerge info

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.10-ck5 i686)
=================================================================
System uname: 2.6.10-ck5 i686 AMD Athlon(tm) XP 1600+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 11 2005, 20:02:52)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1, 2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -Os -fomit-frame-pointer -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/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/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -Os -fomit-frame-pointer -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X Xaw3d a52 alsa apm avi berkdb bitmap-fonts canna
cdparanoia cdr cjk crypt curl divx4linux doc dvd dvdr edl encode esd f77 faac
faad fam flac font-server foomaticdb fortran fpx gcj gd gdbm gif glitz gmail
gnome gpm graphviz gtk gtk2 hal imagemagick imlib java javascript jbig jpeg lcms
libg++ libwww live lzo mad mikmod mime mmx mmx2 motif mozilla mozsvg mp3 mpeg
mpi ncurses network nls nntp nptl nptlonly nvidia oggvorbis opengl oss pam
pdflib perl pic png python quicktime readline real rtc sdl slp sndfile speex
spell sse ssl tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode
userlocales wmf xanim xml2 xmms xv xvid xvmc zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2005-02-12 11:38:27 UTC
filtered.