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.
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.