[Bug other/59648] -O2 -flto compilation of xorg-server-1.15.0 fails
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 1 08:44:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59648
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |WAITING
Last reconfirmed| |2014-01-01
Resolution|INVALID |---
Summary|-O2 compilation of |-O2 -flto compilation of
|xorg-server-1.15.0 fails |xorg-server-1.15.0 fails
Ever confirmed|0 |1
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This might still not be a GCC bug.
Note the first warning is definitely not a GCC bug and should be fixed in the
sources:
1.15.0/xkb/xkbInit.c:690:22: warning: type of 'XkbDfltAccessXOptions' does not
match original declaration [enabled by default]
extern unsigned char XkbDfltAccessXOptions;
^
/var/tmp/portage/x11-base/xorg-server-1.15.0/work/xorg-server-1.15.0/xkb/xkbAccessX.c:58:16:
note: previously declared here
unsigned short XkbDfltAccessXOptions =
^
----- CUT ----
You are going to have to try to reduce the testcase. Also just this one file
is not enough to reproduce the issue as this happens only with -flto it seems.
More information about the Gcc-bugs
mailing list