[Mesa-dev] [PATCH] mesa: Enable LTO compilation
Marc Dietrich
marvin24 at gmx.de
Wed Jun 1 12:40:35 UTC 2016
Am Mittwoch, 1. Juni 2016, 12:36:15 CEST schrieb Eero Tamminen:
> Hi,
>
> On 31.05.2016 21:43, ⚛ wrote:
> > On Tue, May 31, 2016 at 8:30 PM, Aaron Watry <awatry at gmail.com> wrote:
> >> Given the header that it's failing in, I removed the --enable-glx-tls
> >> flag, and then things built successfully.>
> > mesa.spec in
> > http://download.clearlinux.org/releases/8490/clear/source/SRPMS/mesa-11.2
> > .99.1-21.src.rpm seems to be using both -flto and --enable-glx-tls
>
> FYI: "--enable-glx-tls" is needed by Steam games:
> https://bugs.freedesktop.org/show_bug.cgi?id=72902#c26
I just tried LTO on openSUSE tumbleweed and it compiles fine *without* any
patch applied using gcc 6.1.1 or gcc 5.3.1. AFAIK, older gcc version have
rather poor LTO support.
So is this patch needed at all?
Marvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160601/835817b7/attachment.sig>
More information about the mesa-dev
mailing list