Bug #15692
closedbuild failed caused by -momit-leaf-frame-pointer on ppc
0%
Description
clone the ceph src from git and run make -j20 on src/rocksdb and find the following errors:
g++: error: unrecognized command line option ‘-momit-leaf-frame-pointer’
this is caused by -momit-leaf-frame-pointer not supported by ppc arch compile.
the code try to disable this on ppc64, but bug here.
ifneq ($(MACHINE),ppc64) # ppc64 doesn't support -momit-leaf-frame-pointer
OPT += -momit-leaf-frame-pointer
my platform is ppc64le, so the above code can not help this machine.
look at the rocksdb fix, and found the related line has been change to:
ifeq (,$(shell $(CXX) -fsyntax-only -momit-leaf-frame-pointer -xc /dev/null 2>&1))
Updated by Greg Farnum almost 8 years ago
See https://github.com/facebook/rocksdb/issues/810, that might be useful.
Updated by Nathan Cutler almost 7 years ago
It was fixed in Ceph by https://github.com/ceph/ceph/pull/12908