Enable the "minidebuginfo" DISTRO_FEATURE in builds so that all
binaries have just enough debuginfo in them to get a useful stack trace.

This aids with debugging occasional failures that hit the autobuilder,
at minimal cost.  For example, core-image-sato with systemd:

   core-image-sato: IMAGESIZE changed from 481532 to 486044 (+1%)
   glibc: PKGSIZE changed from 3715743 to 3805871 (+2%)
   sqlite3: PKGSIZE changed from 462840 to 469056 (+1%)

[Idea taken from a poky patch from Ross Burton]
Signed-off-by: Richard Purdie <[email protected]>
---
 meta/conf/distro/include/default-distrovars.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/conf/distro/include/default-distrovars.inc 
b/meta/conf/distro/include/default-distrovars.inc
index 69c6db589b7..aea458d28c4 100644
--- a/meta/conf/distro/include/default-distrovars.inc
+++ b/meta/conf/distro/include/default-distrovars.inc
@@ -29,6 +29,7 @@ DISTRO_FEATURES_DEFAULTS ?= " \
     acl alsa bluetooth debuginfod ext2 ipv4 ipv6 \
     wifi xattr nfs zeroconf pci 3g nfc x11 vfat seccomp pulseaudio \
     gobject-introspection-data ldconfig opengl ptest multiarch wayland vulkan \
+    minidebuginfo \
     "
 IMAGE_FEATURES ?= ""
 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#241840): 
https://lists.openembedded.org/g/openembedded-core/message/241840
Mute This Topic: https://lists.openembedded.org/mt/120410504/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to