Bug 735822
Summary: | kyotocabinet 1.2.70-1 built with problematic compiler flags | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ville Skyttä <ville.skytta> | ||||
Component: | kyotocabinet | Assignee: | Casey Dahlin <cdahlin> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | cdahlin, vanhoof | ||||
Target Milestone: | --- | Keywords: | Patch, Regression | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | kyotocabinet-1.2.70-2.fc16 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-12-16 19:48:23 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 496968 | ||||||
Attachments: |
|
It looks to me like just passing --enable-devel will swap in a different set of CFLAGS/CXXFLAGS that fix the issues you mention (assuming -O2 doesn't have the offensive arch option). Does that look right to you? --enable-devel will end up passing at least things like -UNDEBUG, and -D_KCDEBUG which sound potentially undesirable to me (haven't looked at the source though). The offensive arch option will be used unless --disable-opt is used, and on the other hand using it will end up in -O0 so I don't see an option that results in desirable flags and doesn't involve some kind of patching. kyotocabinet-1.2.70-2.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/kyotocabinet-1.2.70-2.fc15 kyotocabinet-1.2.70-2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/kyotocabinet-1.2.70-2.fc16 Package kyotocabinet-1.2.70-2.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing kyotocabinet-1.2.70-2.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-14612 then log in and leave karma (feedback). kyotocabinet-1.2.70-2.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. kyotocabinet-1.2.70-2.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 521512 [details] Compiler flag fixes kyotocabinet 1.2.70-1 is built with -march=native which quite probably means it'll break on systems that don't have all the features the build system has, and -g0 which makes its -debuginfo useless. Attached is one way to fix it; probably it's better to use a patch than sed for modifying configure so it has less chance of breaking and going unnoticed in the future.