Bug 596801

Summary: Build with -fno-strict-aliasing
Product: Red Hat Enterprise Linux 6 Reporter: Tomáš Bžatek <tbzatek>
Component: nautilusAssignee: Tomáš Bžatek <tbzatek>
Status: CLOSED CURRENTRELEASE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: mclasen, tpelka, tsmetana
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: nautilus-2.28.4-12.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-15 14:33:21 UTC Type: ---
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: 593740, 596188    

Description Tomáš Bžatek 2010-05-27 14:35:42 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:

   603  fm-directory-view.c: In function 'fm_directory_view_class_init':
   604  fm-directory-view.c:10583: warning: dereferencing type-punned pointer will break strict-aliasing rules
   604  fm-directory-view.c:10583: warning: dereferencing type-punned pointer will break strict-aliasing rules
   605  fm-directory-view.c:10584: warning: dereferencing type-punned pointer will break strict-aliasing rules
   605  fm-directory-view.c:10584: warning: dereferencing type-punned pointer will break strict-aliasing rules
   606  fm-directory-view.c:10585: warning: dereferencing type-punned pointer will break strict-aliasing rules
   606  fm-directory-view.c:10585: warning: dereferencing type-punned pointer will break strict-aliasing rules
   607  fm-directory-view.c:10586: warning: dereferencing type-punned pointer will break strict-aliasing rules
   607  fm-directory-view.c:10586: warning: dereferencing type-punned pointer will break strict-aliasing rules
   608  fm-directory-view.c:10587: 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 Program Management 2010-05-27 14:37:03 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
inclusion.

Comment 4 releng-rhel@redhat.com 2010-11-15 14:33:21 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.