Bug 1226307
Summary: | Volume start fails when glusterfs is source compiled with GCC v5.1.1 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Anoop C S <anoopcs> | ||||
Component: | geo-replication | Assignee: | bugs <bugs> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | mainline | CC: | bugs, gluster-bugs, pellaeon | ||||
Target Milestone: | --- | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | glusterfs-3.7.1 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1226853 (view as bug list) | Environment: | |||||
Last Closed: | 2016-05-28 06:04:21 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1226853 | ||||||
Attachments: |
|
Description
Anoop C S
2015-05-29 12:13:53 UTC
REVIEW: http://review.gluster.org/11004 (features/changelog: Remove inline keyword to avoid warnings (gcc v5.1.1)) posted (#1) for review on master by Anoop C S (achiraya) Created attachment 1032044 [details]
Compile time warnings with GCC v5.1.1
REVIEW: http://review.gluster.org/11004 (features/changelog: Remove inline keyword to avoid warnings (gcc v5.1.1)) posted (#3) for review on master by Kaleb KEITHLEY (kkeithle) COMMIT: http://review.gluster.org/11004 committed in master by Venky Shankar (vshankar) ------ commit eeb356584897ff778ffcbacff1c71d35d277b726 Author: Anoop C S <achiraya> Date: Fri May 29 16:33:09 2015 +0530 features/changelog: Remove inline keyword to avoid warnings (gcc v5.1.1) When compiled with gcc5, following warnings were displayed and volume start failed: changelog-helpers.h:499:1: warning: inline function 'changelog_dispatch_event' declared but never defined changelog_dispatch_event (xlator_t *, changelog_priv_t *, changelog_event_t *); gf-changelog-journal-handler.c:692:17: warning: 'list_add_tail' is static but used in inline function 'gf_changelog_queue_journal' which is not static list_add_tail (&entry->list, &jnl_proc->entries); Fix is to remove the keyword from function prototype and definitions. Change-Id: I188b35b7ca087a94d7a48a052b05a6d845e3b74b BUG: 1226307 Signed-off-by: Anoop C S <achiraya> Reviewed-on: http://review.gluster.org/11004 Tested-by: NetBSD Build System <jenkins.org> Reviewed-by: Venky Shankar <vshankar> *** Bug 1226255 has been marked as a duplicate of this bug. *** Fix for this BZ is already present in a GlusterFS release. You can find clone of this BZ, fixed in a GlusterFS release and closed. Hence closing this mainline BZ as well. |