Bug 31238

Summary: xorg-server-1.9.1: -fno-strict-aliasing missing in CWARNFLAGS
Product: xorg Reporter: Chris Coleman <chrsclmn>
Component: Server/GeneralAssignee: Jeremy Huddleston Sequoia <jeremyhu>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: mike.auty
Version: unspecified   
Hardware: All   
OS: Linux (All)   
URL: https://bugs.gentoo.org/show_bug.cgi?id=339988
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 27592    

Description Chris Coleman 2010-10-30 07:58:59 UTC
The configure script in the three most recent releases of xorg-server define CWARNFLAGS without -fno-strict-aliasing.

xorg-server-1.9.0.901.tar.bz2   
xorg-server-1.9.0.902.tar.bz2   
xorg-server-1.9.1.tar.bz2

In git, all versions of util/macros since version 1.2.0 define CWARNFLAGS with -fno-strict-aliasing. But these three releases have replaced that flag with -Wstrict-aliasing=2.

These releases were apparently created with a patched version of util/macros. Possibly the patch that is attached to the following bug report in comment #7:

https://bugs.freedesktop.org/show_bug.cgi?id=22939#c7

The omission of -fno-strict-aliasing has caused a bug in Gentoo Linux involving xkb:

https://bugs.gentoo.org/show_bug.cgi?id=339988
Comment 1 Chris Coleman 2010-11-03 15:37:14 UTC
This has been fixed with xorg-server-1.9.2.tar.bz2.

Many thanks.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.