On 6/5/20 5:27 AM, Neal Gompa wrote:
>> Note that having stuff mix compilers is also a bad idea because LTO is
>> compatible across the two compilers. If you want to use LTO, you need
>> to use the same compiler across the chain, or stuff will break.
>>
> Yay thinkos... I mean that LTO is *not* compatible across the two compilers.

As others mentioned, LTO will be contained to a specific package build.

Allowing Clang can also *improve* LTO. Specifically, Firefox has a mix
of C++ (could use GCC or Clang) and Rust (always LLVM). With Clang,
they'd have an all-LLVM build, and could enable cross-language LTO:

http://blog.llvm.org/2019/09/closing-gap-cross-language-lto-between.html
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to