Bug #18464
Updated by Nathan Cutler over 7 years ago
Despite the fact that our rocksdb submodule has https://github.com/facebook/rocksdb/commit/7ca731b12ce69596d7b9fec4a72d44ca8a3913c3 we are still getting the following FTBFS when trying to build master in ppc64(le):
<pre>
[ 751s] [ 0%] Building CXX object CMakeFiles/build_version.dir/build_version.cc.o
[ 751s] c++: error: unrecognized command line option '-momit-leaf-frame-pointer'; did you mean '-fomit-frame-pointer'?
[ 751s] make[6]: *** [CMakeFiles/build_version.dir/build.make:63: CMakeFiles/build_version.dir/build_version.cc.o] Error 1
[ 751s] make[5]: *** [CMakeFiles/Makefile2:2606: CMakeFiles/build_version.dir/all] Error 2
[ 751s] make[4]: *** [CMakeFiles/Makefile2:3689: CMakeFiles/rocksdblib.dir/rule] Error 2
[ 751s] make[3]: *** [Makefile:1273: rocksdblib] Error 2
[ 751s] make[2]: *** [src/CMakeFiles/rocksdb_ext.dir/build.make:113: src/rocksdb_ext-prefix/src/rocksdb_ext-stamp/rocksdb_ext-build] Error 2
[ 751s] make[1]: *** [CMakeFiles/Makefile2:1306: src/CMakeFiles/rocksdb_ext.dir/all] Error 2
</pre>
This appears to be originating from https://github.com/ceph/rocksdb/blob/master/CMakeLists.txt#L99
Note that a very similar bug #17092 was fixed for jewel, but that fix was limited to the autotools build.