[Interest] update on building Qt/Linux with clang?

Konstantin Tokarev annulen at yandex.ru
Wed Nov 7 03:03:52 CET 2018



07.11.2018, 01:09, "René J. V. Bertin" <rjvbertin at gmail.com>:
> Thiago Macieira wrote:
>
>>  Off-topic: no one uses bzip2 anymore. It's slow to compress, slow to
>>  decompress and produces worse results than xz.
>
> Xz is even slower, and on the machine these numbers came from that difference is
> more important in this case.

Use pxz to utilize all cores when compressing

>
>>  Both are -O3 -march=native -g1 builds. So yes, the Clang build is smaller, but
>>  not significantly so.
>
> You know that significant is not a synonym for considerable, right? ;)
>
>>  takes longer to compile or increases the size considerably", you don't really
>>  care about size.
>
> Off-topic, but if I can get the same performance with a smaller size, why opt
> for the larger size?
>
>>  Clang carries 9793421 bytes of debug information, while GCC produces 13951906.
>>  That's a much bigger difference.
>
> I know; most of my builds do have debug info so this is important to me.
> I should look into using separate debug info sometime, but not if it gives
> something comparable to the .dSYM folders that tend to litter my directories. I
> hate that for some reason.
>
> R
>
> _______________________________________________
> 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