This patch is an update to following patches.
https://lists.openembedded.org/g/openembedded-core/topic/117252728 [PATCH] 
llvm: enable LLVMgold.so build by adding binutils dependency
https://lists.openembedded.org/g/openembedded-core/topic/patch_v2_llvm_enable/117274480
 [PATCH v2] llvm: enable LLVMgold.so build by adding binutils dependency

When build component using clang that utilize lto, and when the LLD linker 
connot be used (Use bfd), the LLVMgold.so plugin is required in the native 
sysroot.
LLVMgold.so plugin is generated when binutils-plugin is enabled.
libLTO.so.21.1 is generated on the target even if it is not enabled.

The reason they were bundled in to the same package is to distribute them via 
the nativesdk package.

As Deepesh suggested, I mae it possible to enable this via the binutils-plugin 
rather than having it always built into LLVM.
The name "binutils-plugin" was inspired by gentoo's name convention. 
https://packages.gentoo.org/useflags/binutils-plugin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#233835): 
https://lists.openembedded.org/g/openembedded-core/message/233835
Mute This Topic: https://lists.openembedded.org/mt/118493428/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to