Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1244147

Summary: Many build warnings when compiling glusterfs-3.5 with recent gcc
Product: [Community] GlusterFS Reporter: Niels de Vos <ndevos>
Component: buildAssignee: Niels de Vos <ndevos>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 3.5.5CC: bugs, gluster-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.5.6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-15 15:21:42 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 Niels de Vos 2015-07-17 10:14:28 UTC
Description of problem:
Newer versions of gcc complain loudly about the incorrect usage of
'inline'.

These changes have been part of commit a3cb38e3 in other branches. There
is no need to backport everything from that commit, but silencing the 
warnings would be good.


Version-Release number of selected component (if applicable):
glusterfs-3.5 (release-3.5 branch) compiled on Fedora 22


How reproducible:
100%

Steps to Reproduce:
1. checkout release-3.5
2. run: ./autogen.sh && ./configure && make

Actual results:
Many warnings about incorrect usage of 'inline'.

Comment 1 Anand Avati 2015-07-17 10:15:22 UTC
REVIEW: http://review.gluster.org/11711 (build: drop incorrect usage of 'inline') posted (#1) for review on release-3.5 by Niels de Vos (ndevos)

Comment 2 Anand Avati 2015-07-23 14:33:34 UTC
COMMIT: http://review.gluster.org/11711 committed in release-3.5 by Niels de Vos (ndevos) 
------
commit 8f2c7e67a8fa9cbf9f3b62ab0de930d921e3d362
Author: Niels de Vos <ndevos>
Date:   Fri Jul 17 12:09:55 2015 +0200

    build: drop incorrect usage of 'inline'
    
    Newer versions of gcc complain loudly about the incorrect usage of
    'inline'.
    
    These changes have been part of commit a3cb38e3 in other branches. There
    is no need to backport everything from that commit, but silencing the
    warnings would be good.
    
    Change-Id: I2319d9682b47e8533e9c179056a5152f75aeddc3
    BUG: 1244147
    Signed-off-by: Niels de Vos <ndevos>
    Reviewed-on: http://review.gluster.org/11711
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Kaleb KEITHLEY <kkeithle>

Comment 3 Niels de Vos 2015-09-15 15:21:42 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.5.6, please reopen this bug report.

glusterfs-3.5.6 has been announced on the Gluster Packagers mailinglist [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://thread.gmane.org/gmane.comp.file-systems.gluster.packaging/41
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user