Actions
Bug #15692
closedbuild failed caused by -momit-leaf-frame-pointer on ppc
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
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))
Actions