All of lore.kernel.org
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Khem Raj <raj.khem@gmail.com>, Markus Volk <f_l_k@t-online.de>
Subject: [meta-gnome][PATCH] gimp: Add libexecinfo to linker flags
Date: Thu, 27 Mar 2025 21:47:41 -0700	[thread overview]
Message-ID: <20250328044741.2513702-1-raj.khem@gmail.com> (raw)

LLD reports backtrace() as undefined during linking on musl systems
musl systems use libexecinfo to provide this API, the dependency
is not enough, it needs to reflect in linker flags too, since the
assumption is that backtrace() API in in libc ( glibc has it this way)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Markus Volk <f_l_k@t-online.de>
---
 meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb b/meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb
index 2018ea04c4..f56c12c89b 100644
--- a/meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb
+++ b/meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb
@@ -44,6 +44,8 @@ DEPENDS = " \
 
 DEPENDS:append:libc-musl = " libexecinfo"
 
+LDFLAGS:append:libc-musl = " -lexecinfo"
+
 inherit meson gtk-icon-cache mime-xdg pkgconfig gettext gobject-introspection vala
 
 GIR_MESON_OPTION = 'can-crosscompile-gir'


                 reply	other threads:[~2025-03-28  4:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20250328044741.2513702-1-raj.khem@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=f_l_k@t-online.de \
    --cc=openembedded-devel@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.