Bug 1232409

Summary: fcgi - Type pun (strict-aliasing) warning
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Stanislav Graf <sgraf>
Component: BuildAssignee: Matt Benjamin (redhat) <mbenjamin>
Status: CLOSED DUPLICATE QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.3.0CC: flucifre, hkumar, hnallurv, kdreyer
Target Milestone: rc   
Target Release: 3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-14 21:03:15 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: 1343189    
Bug Blocks: 1175648    

Description Stanislav Graf 2015-06-16 17:01:14 UTC
Description of problem:
=======================

Type pun (strict-aliasing) warning seen in x86_64 build log:

    302  fcgiapp.c: In function 'ProcessManagementRecord':
    303  fcgiapp.c:1490:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    305               ^
    306  fcgiapp.c:1495:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    308           ^
    309  fcgiapp.c:1498:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    360  cgi-fcgi.c: In function 'WebServerReadHandler':
    361  cgi-fcgi.c:390:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]



Version-Release number of selected component (if applicable):
=============================================================
fcgi-2.4.0-25.el7cp

Comment 3 Ken Dreyer (Red Hat) 2015-07-15 02:21:50 UTC
Yehuda, is this something we can fix in libfcgi?

Comment 4 Ken Dreyer (Red Hat) 2015-12-17 19:57:36 UTC
Matt, possible solutions include fixing this issue in libfcgi (ugh), or better yet, making libfcgi an optional dependency so that Ceph/RGW no longer unconditionally links against it at compile time.

Comment 5 Ken Dreyer (Red Hat) 2017-07-14 21:03:15 UTC
we're handling this in the fcgi removal in bz 1343189

*** This bug has been marked as a duplicate of bug 1343189 ***