Summary: | x11-base/xorg-server-1.17.1-r1 fail to build with gcc5 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Cănărău Constantin <canarauc> |
Component: | [OLD] GCC Porting | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aditya3098, bugzie, gent_bz, genzilla, holger, jlp.bugs, johu, junghans, lucy, martin, tdalman, xmw |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://cgit.freedesktop.org/xorg/xserver/commit/?id=21b896939c5bb242f3aacc37baf12379e43254b6 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 536984 | ||
Attachments: | Patch from Fedora which fix issue |
Description
Cănărău Constantin
2015-04-16 08:46:14 UTC
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. |