Bug 31238 - xorg-server-1.9.1: -fno-strict-aliasing missing in CWARNFLAGS
Summary: xorg-server-1.9.1: -fno-strict-aliasing missing in CWARNFLAGS
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Jeremy Huddleston Sequoia
QA Contact: Xorg Project Team
URL: https://bugs.gentoo.org/show_bug.cgi?...
Whiteboard:
Keywords:
Depends on:
Blocks: xserver-1.9
  Show dependency treegraph
 
Reported: 2010-10-30 07:58 UTC by Chris Coleman
Modified: 2010-11-03 15:37 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.