From: Bernhard Rosenkränzer <[email protected]>

Some Linux distributions (e.g. OpenMandriva, ROSA) try to support
gcc style LTO objects and clang style LTO objects at the same time
by replacing ar and friends with a wrapper script that calls the
binutils or llvm version of the tool depending on input.

For those, the binutils and llvm versions need to be available in
HOSTTOOLS as well (or the wrapper script will fail).

Signed-off-by: Bernhard Rosenkränzer <[email protected]>
---
 meta/conf/bitbake.conf | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 62cdd9aa9c..e03bfd1b6b 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -534,6 +534,14 @@ HOSTTOOLS += "${@'ip ping ps scp ssh stty' if 
(bb.utils.contains_any('IMAGE_CLAS
 # Link to these if present
 HOSTTOOLS_NONFATAL += "aws gcc-ar gpg gpg-agent ld.bfd ld.gold nc pigz sftp 
socat ssh sudo"
 
+# Some Linux distributions (e.g. OpenMandriva, ROSA) try to support
+# gcc style LTO objects and clang style LTO objects at the same time
+# by replacing ar and friends with a wrapper script that calls the
+# binutils or llvm version of the tool depending on input. For those,
+# the binutils and llvm versions need to be available in HOSTTOOLS
+# as well (or the wrapper script will fail)
+HOSTTOOLS_NONFATAL += "binutils-ar binutils-ranlib binutils-nm gcc-ranlib 
gcc-nm"
+
 # Temporary add few more detected in bitbake world
 HOSTTOOLS_NONFATAL += "join nl size yes zcat"
 
-- 
2.38.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#172230): 
https://lists.openembedded.org/g/openembedded-core/message/172230
Mute This Topic: https://lists.openembedded.org/mt/94616121/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to