Re: [Mesa-dev] [PATCH 24/24] automake: ask the linker to do garbagecollection

2014-03-28 Thread Lauri Kasanen
On Fri, 28 Mar 2014 09:57:15 +0100 Marc Dietrich 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 (

Re: [Mesa-dev] [PATCH 24/24] automake: ask the linker to do garbagecollection

2014-03-28 Thread Marc Dietrich
Am Freitag, 28. März 2014, 10:35:00 schrieb Lauri Kasanen: > On Thu, 27 Mar 2014 21:00:39 + > > Emil Velikov wrote: > > By doing GC the linker removes all the symbols that are not referenced > > and/or used by the final library. This results in a saving of ~100K > > up-to ~600K per (stripped)