x11-base/xorg-server-1.17.1-r1 does not build with gcc5 Reproducible: Always
Created attachment 401326 [details, diff] Patch from Fedora which fix issue
There's a slightly different patch on master: http://cgit.freedesktop.org/xorg/xserver/commit/?id=21b896939c5bb242f3aacc37baf12379e43254b6
*** Bug 548274 has been marked as a duplicate of this bug. ***
Thanks to Cănărău Constantin for reporting and the patch from Fedora, and Rafał Mużyło for the patch from upstream. With the patch from upstream applied in x11-base/xorg-server-1.17.1-r1 it builds fine with gcc 5.1.0.
That patch works but you still need to build without graphite optimization or a fail will occur.
(In reply to Joe Kappus from comment #5) > That patch works but you still need to build without graphite optimization > or a fail will occur. I only get the build failure with graphite loop optimizations if I use the "-flto" or "-O3" flags. My flags for building xorg-server right now are "-march=native -pipe -O2 -fgraphite-identity -floop-interchange -floop-strip-mine -floop-block", which work.
I can confirm this patch works flawlessly
I can confirm the issue and the solution of it by the patch.
Please add it to tree, confirmed++
*** Bug 553100 has been marked as a duplicate of this bug. ***
Fixed in 1.17.2.