Summary: | games-sports/foobillard-3.0a Segmentation Fault (SDL Parachute Deployed) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stolz <stolz> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | amd64 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | ebuild with -ffast-math filtering |
Description
Stolz
2005-02-03 13:54:36 UTC
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.
|