gnubg-0.14.2 doesn't like being compiled with -ffast-math in CFLAGS. It
compiles OK, but segfaults when you run it. Also tried with gnubg-0.14.3 (just
copied the ebuild + emerge digest), it does the same thing. When -ffast-math is
removed, both 0.14.2 and 0.14.3 compile and run properly (except for a floating
point exception when gnubg is asked for an evaluation, but that, I think,
should be reported upstream).
Reproducible: Always
Steps to Reproduce:
1. Add -ffast-math to CFLAGS
2. emerge gnubg
3. run gnubg
Actual Results:
gnubg starts, shows a splash screen, and then segfaults before displaying the
main window.
Expected Results:
games-board/gnubg-0.14.2 should filter -ffast-math from CFLAGS.
Portage 2.0.51_rc9 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20041006-r0,
2.6.8.1-klak6 i686)
=================================================================
System uname: 2.6.8.1-klak6 i686 AMD Athlon(tm) XP 1600+
Gentoo Base System version 1.5.3
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-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=athlon-xp -fomit-frame-pointer -pipe -ffast-math -ftracer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/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="-Os -march=athlon-xp -fomit-frame-pointer -pipe -ffast-math -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.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.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X acpi alsa apm avi berkdb bitmap-fonts canna cdparanoia cdr
cjk crypt dmx dv dvd dvdr eds encode f77 fam flac foomaticdb gd gdbm gif gnome
gpm gtk gtk2 hal imlib java jpeg libg++ libwww live mad mikmod mime mmx mmx2
mng
motif mozcalendar mozilla mozsvg mpeg nas ncurses network nls nptl nvidia
oggvorbis opengl oss pam pdflib perl pic png python quicktime readline rtc sdl
slang speex spell sse ssl svg tcltk tcpd theora tiff truetype unicode usb wmf
x86 xml2 xmms xprint xv xvid zlib"