Bug 596799 - Build with -fno-strict-aliasing
Summary: Build with -fno-strict-aliasing
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: gvfs   
(Show other bugs)
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Tomáš Bžatek
QA Contact: desktop-bugs@redhat.com
Whiteboard: rhel6rpmdiff
Depends On:
Blocks: 593740 596166 599352
TreeView+ depends on / blocked
Reported: 2010-05-27 14:31 UTC by Tomáš Bžatek
Modified: 2015-03-03 22:48 UTC (History)
3 users (show)

Fixed In Version: gvfs-1.4.3-9.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-11-10 20:38:01 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Tomáš Bžatek 2010-05-27 14:31:00 UTC
Issue found during RPMDiff runs:

The build log on i686 has serious warnings that may cause run-time errors/crashes; suggest use of -fno-strict-aliasing:

   469  gsysutils.c: In function '_g_socket_send_fd':
   470  gsysutils.c:71: warning: dereferencing type-punned pointer will break strict-aliasing rules
   471  gsysutils.c: In function '_g_socket_receive_fd':
   472  gsysutils.c:116: warning: dereferencing type-punned pointer will break strict-aliasing rules

This is a simple change, adding a CFLAG which is present in F12/F13 anyway.

Comment 1 RHEL Product and Program Management 2010-05-27 14:37:06 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for

Comment 2 Vladimir Benes 2010-06-18 17:55:28 UTC
no warnings in rpmdiff run
details see here:


Comment 3 releng-rhel@redhat.com 2010-11-10 20:38:01 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.

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