[Mesa-dev] [PATCH] mesa: Enable LTO compilation

Michel Dänzer michel at daenzer.net
Wed Jun 1 07:25:15 UTC 2016


On 01.06.2016 00:07, Chuck Atkins wrote:
> 
> With gcc 5.3.1 I end up with lib{GL,OSMesa}.so @ 44M and
> libswrAVX{,2}.so @ 70M.  With flto turned on it drops WAY down to
> lib{GL,OSMesa}.so @ 13M and libswrAVX{,2}.so @ 18M

I assume those numbers are including debugging symbols? How do stripped
binaries compare?

I'm asking because I heard that LTO negatively affects debugability, so
I wonder if the difference isn't mostly due to the debugging symbols.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the mesa-dev mailing list