Bug 1232409 - fcgi - Type pun (strict-aliasing) warning
Summary: fcgi - Type pun (strict-aliasing) warning
Keywords:
Status: CLOSED DUPLICATE of bug 1343189
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Build
Version: 1.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: 3.0
Assignee: Matt Benjamin (redhat)
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On: 1343189
Blocks: 1175648
TreeView+ depends on / blocked
 
Reported: 2015-06-16 17:01 UTC by Stanislav Graf
Modified: 2017-07-14 21:03 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-14 21:03:15 UTC
Embargoed:


Attachments (Terms of Use)

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 ***


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