Skip to contentSkip to conversation

arm-toolchain/gcc: Workaround for missing libcrypt

PATCH Applied Claus Stovgaard 2 participants 2 messages Jun 6, 2023 – Jun 8, 2023

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm-toolchain/gcc: Workaround for missing libcrypt

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

---
 .../external-arm-toolchain/arm-binary-toolchain.inc          | 5 +++++
 1 file changed, 5 insertions(+)
meta-arm-toolchain/recipes-devtools/external-arm-toolchain/arm-binary-toolchain.inc +5 -0
index 528b0061..44adfc8b 100644
@@ -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"
Signature · 1 line
2.39.3
Applied
#1 lore raw
Quoted 7 lines · Claus Stovgaard

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,

Signature · 1 line
Jon Mason <[email protected]>