openMP is LLVM implementation which is used by clang for openmp runtime
but it ends up with reproducibility bug in clang, until its fixed lets
always use gcc

Signed-off-by: Khem Raj <[email protected]>
---
 meta/recipes-devtools/rpm/rpm_4.19.1.1.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-devtools/rpm/rpm_4.19.1.1.bb 
b/meta/recipes-devtools/rpm/rpm_4.19.1.1.bb
index 93303237973..d75106aabea 100644
--- a/meta/recipes-devtools/rpm/rpm_4.19.1.1.bb
+++ b/meta/recipes-devtools/rpm/rpm_4.19.1.1.bb
@@ -49,6 +49,10 @@ S = "${WORKDIR}/git"
 DEPENDS = "lua libgcrypt file popt xz bzip2 elfutils python3 sqlite3 zstd"
 DEPENDS:append:class-native = " file-replacement-native 
bzip2-replacement-native"
 
+# clang needs libomp which ends up with buildpaths in binaries debug info
+# see https://github.com/llvm/llvm-project/issues/82541
+TOOLCHAIN = "gcc"
+
 EXTRA_OECMAKE:append = " -D__CURL:FILEPATH=curl"
 EXTRA_OECMAKE:append:libc-musl = " -DENABLE_NLS=OFF -DENABLE_OPENMP=OFF"
 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#206743): 
https://lists.openembedded.org/g/openembedded-core/message/206743
Mute This Topic: https://lists.openembedded.org/mt/109411616/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to