Hi Richard,

Since default policies are generally used by derived distros, changing this
default may have broader impacts. I wonder if the Yocto autobuilder issues
you mentioned are commonly seen by OE users, as this change will embed
symbols into binaries that some users may not expect.

Additionally, there are alternatives that people might have already
deployed. I would suggest seeking user feedback before enabling this by
default in OE-core.

Best regards,

Khem Raj

On Thu, Jul 23, 2026, 6:41 AM Richard Purdie via lists.openembedded.org
<[email protected]> wrote:

> 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 (#241850): 
https://lists.openembedded.org/g/openembedded-core/message/241850
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