[Interest] Qt 5 LTO build on OS X 10.9 (and earlier)

Thiago Macieira thiago.macieira at intel.com
Sat Sep 12 05:52:24 CEST 2015


On Saturday 12 September 2015 00:19:27 René J. V. Bertin wrote:
> > I don't see any reason why the compiler would get lost.
> 
> And I have no idea why you drag the compiler into this :)

Because we're talking about LTCG, which implies the compiler is run at the 
linking stage.

> My hunch is that the -g is dropped during the linking stage, it doesn't show
> in the ld arguments at least. 

It wouldn't show in ld's arguments. But it shows in the g++ arguments that 
will eventually run ld. ltcg.prf adds the compiler flags to QMAKE_LFLAGS.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list