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

René J.V. Bertin rjvbertin at gmail.com
Fri Sep 11 10:24:32 CEST 2015


Hello,

Has anyone tested building Qt 5.5.0 with link-time optimisation (qmake -config ltcg) on Mac OS X 10.9 and possibly earlier?
I'm getting a failure on the bootstrap static lib because llvm-ar is missing from the system toolchain (latest Xcode for 10.9).

It seems that the ar command works too though it complains about and ignores invalid debug info (which fits in with though doesn't fully explain my experience that LTO builds lack debug information in shared libraries).

R.



More information about the Interest mailing list