Bug 1291890

Summary: bd_xlator gets disabled when compiled with -Wall and -Werror
Product: [Community] GlusterFS Reporter: Raghavendra Talur <rtalur>
Component: buildAssignee: Raghavendra Talur <rtalur>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-4.1.3 (or later) Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-29 03:37:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Raghavendra Talur 2015-12-15 19:45:57 UTC
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 19:47:15 UTC
REVIEW: http://review.gluster.org/12975 (build: Avoid lvalue warning from gcc) posted (#1) for review on master by Raghavendra Talur (rtalur)

Comment 2 Vijay Bellur 2015-12-15 19:48:42 UTC
REVIEW: http://review.gluster.org/12975 (build: Avoid unused-value warning from gcc) posted (#2) for review on master by Raghavendra Talur (rtalur)

Comment 3 Mike McCune 2016-03-28 23:30:47 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 4 Amar Tumballi 2018-08-29 03:37:23 UTC
This update is done in bulk based on the state of the patch and the time since last activity. If the issue is still seen, please reopen the bug.