Skip to contentSkip to conversation

arm-toolchain/gcc: Workaround for missing libcrypt

PATCH Applied Claus Stovgaard 2 participants 4 messages May 15, 2023 – Jun 8, 2023

v1 of 2 Applied Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 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

This is a workaround by skipping the FILEDEPS

---
 .../external-arm-toolchain/arm-binary-toolchain.inc             | 2 ++
 1 file changed, 2 insertions(+)
meta-arm-toolchain/recipes-devtools/external-arm-toolchain/arm-binary-toolchain.inc +2 -0
index 528b0061..4d7241c5 100644
@@ -24,3 +24,5 @@ INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
 PRIVATE_LIBS = "libgcc_s.so.1 libstdc++.so.6"
 
 BBCLASSEXTEND = "native nativesdk"
+
+SKIP_FILEDEPS="1"
Signature · 1 line
2.39.3
#1 lore raw
Quoted 6 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

This is a workaround by skipping the FILEDEPS

A little more verbosity here would be nice. Something describing how prebuilt libraries might link to libraries that aren't present and becuse they are prebuilt, we don't control the dependencies. We don't need a book, just 3-4 sentences.

Also, missing your Signed-off-by line

meta-arm-toolchain/recipes-devtools/external-arm-toolchain/arm-binary-toolchain.inc INHIBIT_PACKAGE_DEBUG_SPLIT = "1" · line 27

Quoted 13 lines
---
 .../external-arm-toolchain/arm-binary-toolchain.inc             | 2 ++
 1 file changed, 2 insertions(+)
meta-arm-toolchain/recipes-devtools/external-arm-toolchain/arm-binary-toolchain.inc +1 -0
index 528b0061..4d7241c5 100644
@@ -24,3 +24,5 @@ INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
 PRIVATE_LIBS = "libgcc_s.so.1 libstdc++.so.6"
 
 BBCLASSEXTEND = "native nativesdk"
+

It would be nice to have a comment here about why this was added, to save people from looking at the log when doing quick edits. Perhaps something like:

# skipping file deps because of libcrypt issue
Quoted 5 lines
meta-arm-toolchain/recipes-devtools/external-arm-toolchain/arm-binary-toolchain.inc +1 -0
+SKIP_FILEDEPS="1"
Signature · 1 line
2.39.3
#2 lore raw
Quoted 10 lines · Jon Mason
Quoted 8 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

This is a workaround by skipping the FILEDEPS

Quoted 8 lines

A little more verbosity here would be nice. Something describing how prebuilt libraries might link to libraries that aren't present and becuse they are prebuilt, we don't control the dependencies. We don't
need a book, just 3-4 sentences.

Also, missing your Signed-off-by line

Thanks for your review and sory for the delay in following up. Will send a V2 shortly, fixing it.

Quoted 13 lines
Quoted 4 lines

---

BBCLASSEXTEND = "native nativesdk"
+

It would be nice to have a comment here about why this was added, to save people from looking at the log when doing quick edits. Perhaps something like:

# skipping file deps because of libcrypt issue
Quoted 2 lines

+SKIP_FILEDEPS="1"
--

Good point - have added a bit more description

Regards
Claus

Applied
#3 lore raw
In reply to Claus Stovgaard
Quoted 6 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

This is 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]>