Project

General

Profile

Actions

Bug #15263

closed

Build breaks when -O0 passed to do_autogen.sh

Added by Anonymous about 8 years ago. Updated about 7 years ago.

Status:
Resolved
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

When building with -O0 passed into do_autogen.sh, the compiler ultimately begins warning of FORTIFY_SOURCE being set and being incompatibly with -O0.

Unsetting FORTIFY_SOURCE in CFLAGS/CXXFLAGS via do_autogen.sh is not enough. It appears that src/Makefile-env.am forces HARDENING_CFLAGS undre an "if LINUX" conditional.

It seems necessary to disable HARDENING_CFLAGS when -O0 is used (either automatically, or knowingly by the user).

Actions #2

Updated by Greg Farnum about 7 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF