[Mesa-dev] [PATCH 24/24] automake: ask the linker to do garbagecollection
Lauri Kasanen
cand at gmx.com
Fri Mar 28 09:39:09 PDT 2014
On Fri, 28 Mar 2014 09:57:15 +0100
Marc Dietrich <marvin24 at gmx.de> wrote:
> lto is broken on many compiler/ld combinations. Even if it is supported I
> won't recomment to enable it. A config option to enable it would be nice
> though.
>
> Lauri, on which compiler/binutils version did you got it going?
GNU ld (GNU Binutils) 2.23.1
gcc-4.7 (GCC) 4.7.1
In my experience LTO wasn't fully complete in GCC 4.6 (with many
projects failing to build), but in 4.7 and 4.8 it works great.
I haven't built mesa with LTO though, only my own projects.
- Lauri
More information about the mesa-dev
mailing list