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

Konstantin Tokarev annulen at yandex.ru
Mon Dec 18 20:59:45 CET 2017



18.12.2017, 22:56, "René J. V. Bertin" <rjvbertin at gmail.com>:
> 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?

ELF is loaded into memory by using file mappings, separate mapping for different
sections.

>
>>  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?
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

-- 
Regards,
Konstantin



More information about the Interest mailing list