Actions
Bug #13920
closedbuild failure due to distribution implicit compiler files: _FORTIFY_SOURCE on Gentoo
% 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
Gentoo's compiler patches include -D_FORTIFY_SOURCE=2 if -O2 or higher are used.
This causes lots of error spew that _FORTIFY_SOURCE is defined twice when compiling on Gentoo:
CXX cls/version/cls_version_client.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
To resolve this, we should explicitly undefine _FORTIFY_SOURCE before trying to define it again.
Updated by Robin Johnson over 8 years ago
PR for fix is here: https://github.com/ceph/ceph/pull/6739
should be backported as well, but not 100% required.
Updated by Alfredo Deza over 8 years ago
- Project changed from teuthology to Ceph
Actions