From 89d2401ab0484478aa582fbdda21fd1d287605c4 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 20 May 2025 23:19:59 -0700 Subject: [PATCH] rpm: Always use gcc compiler clang can build it ok but the openmp directives get emitted with full paths into binaries [1] until thats fixed in clang/openmp stick to gcc [1] https://github.com/llvm/llvm-project/issues/82541 Signed-off-by: Khem Raj Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- meta/recipes-devtools/rpm/rpm_4.20.0.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-devtools/rpm/rpm_4.20.0.bb b/meta/recipes-devtools/rpm/rpm_4.20.0.bb index 281fde1c82..bcc138dab0 100644 --- a/meta/recipes-devtools/rpm/rpm_4.20.0.bb +++ b/meta/recipes-devtools/rpm/rpm_4.20.0.bb @@ -62,6 +62,10 @@ OECMAKE_GENERATOR = "Unix Makefiles" BBCLASSEXTEND = "native nativesdk" +# Clang results in a reproducibility issue +# https://github.com/llvm/llvm-project/issues/82541 +TOOLCHAIN = "gcc" + PACKAGECONFIG ??= "archive" PACKAGECONFIG[plugins] = "-DENABLE_PLUGINS=ON,-DENABLE_PLUGINS=OFF" -- 2.47.2