From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: ecordonnier@snap.com, openembedded-core@lists.openembedded.org
Subject: Re: [OE-core][PATCH v2] gdb/systemd: enable minidebuginfo support conditionally
Date: Thu, 07 Dec 2023 23:25:59 +0000 [thread overview]
Message-ID: <db4abfaf9dfeead32dd8fbf1f620d9ebe4e128d2.camel@linuxfoundation.org> (raw)
In-Reply-To: <20231205133754.906479-1-ecordonnier@snap.com>
On Tue, 2023-12-05 at 14:37 +0100, Etienne Cordonnier via
lists.openembedded.org wrote:
> From: Etienne Cordonnier <ecordonnier@snap.com>
>
> 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).
>
> Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
> ---
> meta/classes-global/package.bbclass | 2 +-
> meta/lib/oe/package.py | 2 +-
> meta/lib/oeqa/runtime/cases/systemd.py | 21 +++++++++++++++++++
> meta/lib/oeqa/selftest/cases/minidebuginfo.py | 2 +-
> meta/recipes-core/systemd/systemd_254.4.bb | 1 +
> .../elfutils/elfutils_0.189.bb | 4 +++-
> meta/recipes-devtools/gdb/gdb-common.inc | 4 +++-
> 7 files changed, 31 insertions(+), 5 deletions(-)
I merged this as I think it did improve things but adding a test change
to poky to enable it hasn't quite worked as I hoped.
I had to put a constraint around the test to ensure it only runs on
systemd images:
https://git.openembedded.org/openembedded-core/commit/?h=master-next&id=9c069e00a0867de11a6069b99a07d2c775848c10
and with that applied I then had this failure:
https://autobuilder.yoctoproject.org/typhoon/#/builders/101/builds/7000/steps/14/logs/stdio
I can queue the first patch but I'm not sure about the failure above.
Any ideas?
Cheers,
Richard
next prev parent reply other threads:[~2023-12-07 23:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-05 13:37 [OE-core][PATCH v2] gdb/systemd: enable minidebuginfo support conditionally ecordonnier
2023-12-05 13:40 ` Etienne Cordonnier
2023-12-07 23:25 ` Richard Purdie [this message]
2024-05-29 10:50 ` Etienne Cordonnier
[not found] ` <17D3F01628D1B399.19857@lists.openembedded.org>
2024-06-04 11:38 ` Etienne Cordonnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=db4abfaf9dfeead32dd8fbf1f620d9ebe4e128d2.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=ecordonnier@snap.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.