Project

General

Profile

Actions

Bug #15692

closed

build failed caused by -momit-leaf-frame-pointer on ppc

Added by min fang almost 8 years ago. Updated almost 7 years ago.

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 #1

Updated by Greg Farnum almost 8 years ago

Actions #2

Updated by Greg Farnum almost 7 years ago

  • Status changed from New to Closed
Actions #3

Updated by Nathan Cutler almost 7 years ago

Actions

Also available in: Atom PDF