diff mbox series

[v2] arm-toolchain/gcc: Workaround for missing libcrypt

Message ID 20230606083143.1024516-1-claus.stovgaard@gmail.com
State New
Headers show
Series [v2] arm-toolchain/gcc: Workaround for missing libcrypt | expand

Commit Message

Claus Stovgaard June 6, 2023, 8:31 a.m. UTC
gcc-arm-none-eabi and gcc-aarch64-none-elf both fails when packaged as
RPM for sdk with

nothing provides libcrypt.so.1()(64bit) needed by nativesdk-gcc-arm-none-eabi-12.2.rel1-r0.x86_64_nativesdk

As we don't control the dependencies for prebuilt libraries we create a
workaround by skipping the FILEDEPS

Signed-off-by: Claus Stovgaard <claus.stovgaard@gmail.com>
---
 .../external-arm-toolchain/arm-binary-toolchain.inc          | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Jon Mason June 7, 2023, 7:33 p.m. UTC | #1
On Tue, 6 Jun 2023 10:31:43 +0200, Claus Stovgaard wrote:
> gcc-arm-none-eabi and gcc-aarch64-none-elf both fails when packaged as
> RPM for sdk with
> 
> nothing provides libcrypt.so.1()(64bit) needed by nativesdk-gcc-arm-none-eabi-12.2.rel1-r0.x86_64_nativesdk
> 
> As we don't control the dependencies for prebuilt libraries we create a
> workaround by skipping the FILEDEPS

Applied, thanks!

[1/1] arm-toolchain/gcc: Workaround for missing libcrypt
      commit: 3fcafa3a945aa57d58ca4f1a0f6d20280df7cdbd

Best regards,
diff mbox series

Patch

diff --git a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/arm-binary-toolchain.inc b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/arm-binary-toolchain.inc
index 528b0061..44adfc8b 100644
--- a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/arm-binary-toolchain.inc
+++ b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/arm-binary-toolchain.inc
@@ -24,3 +24,8 @@  INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
 PRIVATE_LIBS = "libgcc_s.so.1 libstdc++.so.6"
 
 BBCLASSEXTEND = "native nativesdk"
+
+# Skipping file deps - we don't control the dependencies for prebuilt libraries, resulting in
+# nothing provides libcrypt.so.1()(64bit) needed by nativesdk-gcc-arm-none-eabi 
+# when packaged as RPM for SDK.
+SKIP_FILEDEPS="1"