Re: [OE-core][PATCH v2] gdb/systemd: enable minidebuginfo support conditionally

2024-06-04 Thread Etienne Cordonnier via lists.openembedded.org
Hi Richard, I found the issue. It is caused by this image using sleep from coreutils instead of sleep from busybox (which I had been testing locally). I'll send a patch. Étienne On Wed, May 29, 2024 at 12:51 PM Etienne Cordonnier via lists.openembedded.org wrote: > Hi Richard, > I had missed yo

Re: [OE-core][PATCH v2] gdb/systemd: enable minidebuginfo support conditionally

2024-05-29 Thread Etienne Cordonnier via lists.openembedded.org
Hi Richard, I had missed your reply. I have changed my email filters so hopefully this won't happen again (still learning how to work with mailing-lists). I sent another patch fixing a regression in the test: https://lists.openembedded.org/g/openembedded-core/message/19 I tested core-image-sato

Re: [OE-core][PATCH v2] gdb/systemd: enable minidebuginfo support conditionally

2023-12-07 Thread Richard Purdie
On Tue, 2023-12-05 at 14:37 +0100, Etienne Cordonnier via lists.openembedded.org wrote: > From: Etienne Cordonnier > > Enabling minidebuginfo is not useful if gdb and systemd-coredump > are unable to parse it. > > In order to parse it, gdb needs xz support. Systemd needs coredump enabled, as > w

Re: [OE-core][PATCH v2] gdb/systemd: enable minidebuginfo support conditionally

2023-12-05 Thread Etienne Cordonnier via lists.openembedded.org
Version 2 of the patch: I implemented the feedback of Richard (convert PACKAGE_MINIDEBUGINFO to a DISTRO_FEATURES), and added a runtime test. This was my local.conf used for testing (with "bitbake -v -c testimage core-image-sato"): DISTRO_FEATURES:append = " minidebuginfo" IMAGE_CLASSES += "testim

[OE-core][PATCH v2] gdb/systemd: enable minidebuginfo support conditionally

2023-12-05 Thread Etienne Cordonnier via lists.openembedded.org
From: Etienne Cordonnier Enabling minidebuginfo is not useful if gdb and systemd-coredump are unable to parse it. In order to parse it, gdb needs xz support. Systemd needs coredump enabled, as well as elfutil enabled as well (systemd-coredump loads libdw which is part of elfutils using dlopen).