Skip to contentSkip to conversation

uninative-tarball: Add a dependency on nativesdk-glibc-dbg

PATCH Peter Kjellerstedt 1 participant 1 message Mar 4, 2021 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

*ping*

//Peter

Quoted 35 lines

-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Peter Kjellerstedt
Sent: den 24 februari 2021 21:54
To: [email protected]
Subject: [OE-core] [PATCH] uninative-tarball: Add a dependency on nativesdk-glibc-dbg

This adds the debug symbols for the binaries included in the uninative tar ball. These are needed if one wants to run valgrind on a native binary when uninative is used. Or get complete backtraces using gdb.

---

For the uninative tar ball for x86-64 that I built to test this change the size increased by ~4% (200 kB). I hope that is acceptable to consider this change.

 meta/recipes-core/meta/uninative-tarball.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes- renamed from meta/recipes-core/meta/uninative-tarball.bb +0 -0

core/meta/uninative-tarball.bb
index c4a6c96b4d..bbdaebad94 100644

meta/recipes-core/meta/uninative-tarball.bb +1 -0
@@ -8,6 +8,7 @@ TOOLCHAIN_TARGET_TASK = ""
 # utf-16, cp1252 - binutils-windres
 TOOLCHAIN_HOST_TASK = "\
     nativesdk-glibc \
+    nativesdk-glibc-dbg \
     nativesdk-glibc-gconv-ibm850 \
     nativesdk-glibc-gconv-iso8859-1 \
     nativesdk-glibc-gconv-utf-16 \