When I try to run foobillard-3.0a it segfaults with that error: ... --clothtex <arg> arg=on|off for table detail map --help this help the color <0xrrggbb> means one byte for each red, green, blue player_copy1 player_copy2 player_copy3 human player 1 player_copy3.5 player_copy4 player_copy1 player_copy2 player_copy3 human player 2 player_copy3.5 player_copy4 Fatal signal: Segmentation Fault (SDL Parachute Deployed) If I install it by hands, works fine. Also tried mergeing it with USE="-sdl" but I get another error: "Bus error" Reproducible: Always Steps to Reproduce: 1.merge foobillard-3.0a 2.run foobillard 3. Actual Results: Get the error message: Fatal signal: Segmentation Fault (SDL Parachute Deployed) Expected Results: See foobillard window :) $ emerge info Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r14 x86_64) ================================================================= System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3400+ Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Jan 18 2005, 03:57:00)] dev-lang/python: 2.3.4 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 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer -ffast-math -frename-registers" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer -ffast-math -frename-registers" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache distlocks fixpackages sandbox" GENTOO_MIRRORS="http://linuv.uv.es/mirror/gentoo/" LANG="es_ES@euro" LC_ALL="es_ES@euro" LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s" 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="amd64 X acpi avi bash-completion berkdb bitmap-fonts cdr crypt cups dvd dvdr f77 fam flac font-server foomaticdb gdbm geoip gif gpm imagemagick imlib irda jp2 jpeg kde lirc lzw lzw-tiff mikmod motif mozilla multilib mysql ncurses nls nptl oggvorbis opengl oss pam png python qt readline samba sdl slang spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xml2 xmms xosd xpm xrandr xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET
Why do you have LDFLAGS set? Also, you might try turning down your CFLAGS and see if that makes a difference.
Ok,CFLAGS where the problem. I removed "-ffast-math" and now it works great. Sorry for being a n00b and don't have tried it before submiting a bug :( And about LDFLAGS, Should I not use them? I read in forums than can increase performance in some cases, buy I really don't knowwhat for are them.
To put it simply, you shouldn't do something just because you read it on the forums, especially if you don't know what it does. While there are a lot of very intelligent and helpful people on the forums, there are also a contingency of very vocal minority that seem to think that the more *FLAGS you have defined, and the more experimental and half-broken patches you have on your kernel, the fater it will run. Anyway, -ffast-math is actually dangerous for use in your global CFLAGS. I would remove it permanently, as it is known to produce broken code and is only useful in cases where exact numbers are not important (which is extremely rare in programs). Glad to see you found the problem!
Created attachment 54278 [details] ebuild with -ffast-math filtering This bug is valid and you didn't fix it. Code that don't correctly compile with -ffast-math switch is broken. -ffast-math doesn't do anything evil unless compiler generates incorrect code (and in that case this is compiler bug). Ebuild with explicit "-ffast-math" remove attached.