Bug 1291890 - bd_xlator gets disabled when compiled with -Wall and -Werror
bd_xlator gets disabled when compiled with -Wall and -Werror
Status: POST
Product: GlusterFS
Classification: Community
Component: build (Show other bugs)
mainline
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Raghavendra Talur
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-12-15 14:45 EST by Raghavendra Talur
Modified: 2016-03-28 19:30 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Raghavendra Talur 2015-12-15 14:45:57 EST
Description of problem:

When configure is run with -Wall and -Werror, bd_xlator is not enabled.

AC_CHECK_LIBS fails because gcc converts a warning into a error.
The exact message from gcc is:

conftest.c: In function 'main':
conftest.c:55:16: error: left-hand operand of comma expression has no effect [-Werror=unused-value]
 return lvm_init,lvm_lv_from_name ();
Comment 1 Vijay Bellur 2015-12-15 14:47:15 EST
REVIEW: http://review.gluster.org/12975 (build: Avoid lvalue warning from gcc) posted (#1) for review on master by Raghavendra Talur (rtalur@redhat.com)
Comment 2 Vijay Bellur 2015-12-15 14:48:42 EST
REVIEW: http://review.gluster.org/12975 (build: Avoid unused-value warning from gcc) posted (#2) for review on master by Raghavendra Talur (rtalur@redhat.com)
Comment 3 Mike McCune 2016-03-28 19:30:47 EDT
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune@redhat.com with any questions

Note You need to log in before you can comment on or make changes to this bug.