Opened 17 years ago
Last modified 15 years ago
#647 new Defect
Remove -fomit-frame-pointer and -ffast-math gcc flags
Reported by: | mjakubicek | Owned by: | davea |
---|---|---|---|
Priority: | Minor | Milestone: | Undetermined |
Component: | Client - Build | Version: | 6.6.37 |
Keywords: | patch | Cc: | mjakubicek |
Description
Is there any particular reason to have those flags set as default? They can make debugging much harder or impossible and should be avoided if possible. I ask because they are currently prohibited for Fedora, so that I had to remove them anyway in the Fedora package. (patch included)
Attachments (1)
Change History (9)
Changed 17 years ago by
Attachment: | boinc-gccflags.patch added |
---|
comment:1 Changed 17 years ago by
Component: | Undetermined → Client - Build |
---|---|
Owner: | set to romw |
Priority: | Undetermined → Minor |
comment:2 Changed 17 years ago by
Keywords: | patch added |
---|
comment:3 Changed 17 years ago by
Owner: | changed from romw to davea |
---|
This would cause a drop in benchmark scores.
See ticket #155 for further information.
David, should we re-visit this issue?
comment:4 Changed 16 years ago by
I think ONLY the benchmark .cpp files should be compiled with these flags.
comment:5 Changed 16 years ago by
OK, what's the decision? Having this only for benchmark.cpp seems to be a good tradeoff...
comment:6 Changed 16 years ago by
Cc: | mjakubicek added |
---|
comment:8 Changed 15 years ago by
Version: | → 6.6.37 |
---|
Just switched to the 6.6a branch and those flags are *not* present there.
Patch for the Makefile.in and Makefile.am -- remove -fomit-frame-pointer and -ffast-math