[Bugs] [Bug 1203664] New: Make it possible to build RPMs with --enable-debug for better testing

bugzilla at redhat.com bugzilla at redhat.com
Thu Mar 19 11:42:28 UTC 2015


            Bug ID: 1203664
           Summary: Make it possible to build RPMs with --enable-debug for
                    better testing
           Product: GlusterFS
           Version: mainline
         Component: build
          Keywords: Triaged
          Severity: low
          Priority: medium
          Assignee: ndevos at redhat.com
          Reporter: ndevos at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com

Description of problem:
Currently %configure in the glusterfs.spec.in needs a manual addition of
--enabled-debug to build debug binaries. With the recent change to enable
hardening builds by default, --enable-debug generates an immense number of
compile warnings.

Version-Release number of selected component (if applicable):
current mainline

How reproducible:

Steps to Reproduce:
1. edit the glusterfs.spec.in
2. add --enable-debug on the %configure line
3.run: make -C extras/LinuxRPM glusterrpms

Actual results:
Many warnings related to FORTIFY_SOURCE

Expected results:
No more warnings then with a standard (non-debug) build.

Additional info:

You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=9KEb9LMV1V&a=cc_unsubscribe

More information about the Bugs mailing list