From: ecordonnier@snap.com
To: yocto-patches@lists.yoctoproject.org
Cc: Etienne Cordonnier <ecordonnier@snap.com>
Subject: [meta-darwin][PATCH 2/5] darwin-common: disable debuginfod
Date: Mon, 16 Nov 2026 21:22:20 +0100 [thread overview]
Message-ID: <20261116202223.654-2-ecordonnier@snap.com> (raw)
In-Reply-To: <20261116202223.654-1-ecordonnier@snap.com>
From: Etienne Cordonnier <ecordonnier@snap.com>
debuginfod needs elfutils, which doesn't compile for darwin at the moment.
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
---
conf/machine-sdk/darwin-common.inc | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/conf/machine-sdk/darwin-common.inc b/conf/machine-sdk/darwin-common.inc
index a23c605..6c8a85a 100644
--- a/conf/machine-sdk/darwin-common.inc
+++ b/conf/machine-sdk/darwin-common.inc
@@ -44,6 +44,12 @@ BUILDSDK_LDFLAGS = " \
MACHINEOVERRIDES .= ":darwinsdk"
+# debuginfod needs elfutils (libdebuginfod/libelf), which upstream only supports
+# on Linux/glibc hosts: its configure fails on Darwin (e.g. the linker has no
+# --build-id and there is no readelf). Don't let the distro's debuginfod feature
+# reach nativesdk recipes until elfutils is ported.
+DISTRO_FEATURES_FILTER_NATIVESDK:remove:darwin21 = "debuginfod"
+
TOOLCHAIN_SHAR_EXT_TMPL ?= "${DARWINBASE}/conf/files/darwin-toolchain-shar-extract.sh"
SDK_POSTPROCESS_COMMAND:append = "${@bb.utils.contains('DARWIN_INSTALLER_PKG', '1', ' create_macos_pkg', '', d)}"
--
2.43.0
next prev parent reply other threads:[~2026-11-16 20:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-16 20:22 [meta-darwin][PATCH 1/5] file: disable lzlib ecordonnier
2026-11-16 20:22 ` ecordonnier [this message]
2026-11-16 20:22 ` [meta-darwin][PATCH 3/5] libgpg-error: install lock-obj-pub header for the darwin21 triplet ecordonnier
2026-11-16 20:22 ` [meta-darwin][PATCH 4/5] curl: pass -F for the Apple frameworks on Darwin nativesdk ecordonnier
2026-11-16 20:22 ` [meta-darwin][PATCH 5/5] gnutls: " ecordonnier
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=20261116202223.654-2-ecordonnier@snap.com \
--to=ecordonnier@snap.com \
--cc=yocto-patches@lists.yoctoproject.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.