From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: buildroot@buildroot.org
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
Adrian Perez de Castro <aperez@igalia.com>
Subject: [Buildroot] [PATCH] package/sysprof: propagate ucontext-related dependency from libdex
Date: Mon, 14 Sep 2026 23:39:21 +0200 [thread overview]
Message-ID: <20260914213922.1847792-1-thomas.petazzoni@bootlin.com> (raw)
BR2_PACKAGE_SYSPROF selects BR2_PACKAGE_LIBDEX but did not propagate:
depends on BR2_TOOLCHAIN_HAS_UCONTEXT || \
BR2_PACKAGE_LIBUCONTEXT_ARCH_SUPPORTS
from libdex. This commit fixes this missing dependency. In terms of
Config.in comment, we do the same as what libdex is doing: handle it
as a toolchain dependency (rather than an architecture dependency).
This was missed in commit a73ef093f7b40297d69c6813c44fd4626883632e,
which added the ucontext related dependency to libdex, without
propagating it to sysprof.
Fixes: a73ef093f7b40297d69c6813c44fd4626883632e ("package/libdex: needs ucontext")
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
package/sysprof/Config.in | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/package/sysprof/Config.in b/package/sysprof/Config.in
index e89a0e539e..258f549152 100644
--- a/package/sysprof/Config.in
+++ b/package/sysprof/Config.in
@@ -9,6 +9,8 @@ config BR2_PACKAGE_SYSPROF
depends on !BR2_OPTIMIZE_FAST # polkit
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12
+ depends on BR2_TOOLCHAIN_HAS_UCONTEXT || \
+ BR2_PACKAGE_LIBUCONTEXT_ARCH_SUPPORTS # libdex
select BR2_PACKAGE_ELFUTILS
select BR2_PACKAGE_JSON_GLIB
select BR2_PACKAGE_LIBDEX
@@ -21,13 +23,15 @@ config BR2_PACKAGE_SYSPROF
http://sysprof.com
-comment "sysprof needs a toolchain w/ dynamic library, wchar, threads, C++, gcc >= 7, headers >= 5.12"
+comment "sysprof needs a toolchain w/ dynamic library, wchar, threads, C++, gcc >= 7, headers >= 5.12, ucontext"
depends on BR2_USE_MMU
depends on BR2_PACKAGE_LIBUNWIND_ARCH_SUPPORTS
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \
- !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12
+ !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12 || \
+ !(BR2_TOOLCHAIN_HAS_UCONTEXT || \
+ BR2_PACKAGE_LIBUCONTEXT_ARCH_SUPPORTS)
comment "sysprof can't be built with Optimize for fast"
depends on BR2_OPTIMIZE_FAST
--
2.55.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2026-09-14 21:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-14 21:39 Thomas Petazzoni via buildroot [this message]
2026-09-15 17:22 ` [Buildroot] [PATCH] package/sysprof: propagate ucontext-related dependency from libdex Julien Olivain via buildroot
2026-09-25 14:44 ` Raphaël Mélotte via buildroot
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=20260914213922.1847792-1-thomas.petazzoni@bootlin.com \
--to=buildroot@buildroot.org \
--cc=aperez@igalia.com \
--cc=thomas.petazzoni@bootlin.com \
/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.