LTO on Windows now working

Luboš Luňák l.lunak at collabora.com
Fri Sep 25 15:20:37 UTC 2020


On Friday 25 of September 2020, Michael Meeks wrote:
> 	I wonder if (assuming we still believe that C++ UNO plugins exists as a
> 'thing' ;-) We could try on Linux increasing libmerged to include all of
> the lower base code - too - and (perhaps) - symlink it to all of the old
> library names. I -think- (worth checking) that the library loader will
> resolve those through the symlink to the same library loaded once -
> arguably giving back-compatibility at the expense of some packaging
> changes (I guess).

 Yes, that would work on Linux. Not on Windows though, it seems symbols get 
bound to a specific DLL name.

> 	Might be worth playing with that; then again - if there are no benefits
> ;-) ... sounds like a good experiment to make though.

 Could be worth it. If I remember correctly building LLVM with LTO made here 
some things run up to twice as fast.

-- 
 Luboš Luňák
 l.lunak at collabora.com


More information about the LibreOffice mailing list