[Interest] building Qt 5.9 on Linux - clang or GCC?

René J. V. Bertin rjvbertin at gmail.com
Mon Dec 18 20:55:42 CET 2017


Thiago Macieira wrote:

> It doesn't, because the debug information is not loaded in the first place.
> When using readelf, note how the "A" flag is missing for those sections.

So it has to skip certain, possibly considerable parts of the file while loading 
it, rather than simply doing some efficient operation to copy the whole file into 
memory. That should affect load times somewhat, no?

> One more reason to use GCC. It only builds once, even under LTO, unless you
> specifically ask for the fat LTO objects.

Yet even with GCC the build times and memory requirements are larger with LTO 
than without. How can it not do certain things twice? 




More information about the Interest mailing list