Bug 31238 - xorg-server-1.9.1: -fno-strict-aliasing missing in CWARNFLAGS
xorg-server-1.9.1: -fno-strict-aliasing missing in CWARNFLAGS
Status: RESOLVED FIXED
Product: xorg
Classification: Unclassified
Component: Server/General
unspecified
All Linux (All)
: medium normal
Assigned To: Jeremy Huddleston
Xorg Project Team
https://bugs.gentoo.org/show_bug.cgi?...
:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.