All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/bcc: propagate missing dependency from clang
@ 2026-09-12 21:01 Thomas Petazzoni via buildroot
  2026-09-13  8:23 ` Julien Olivain via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-09-12 21:01 UTC (permalink / raw)
  To: buildroot; +Cc: Thomas Petazzoni, Romain Naour

Since bcc was introduced in commit
146498d13c487e8f43d6725e343eae4474147695, it lacked a dependency
propagation from clang for BR2_TOOLCHAIN_HAS_GCC_BUG_64735, this
commit fixes this mistake.

Fixes: 146498d13c487e8f43d6725e343eae4474147695 ("package/bcc: new package")
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 package/bcc/Config.in | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/bcc/Config.in b/package/bcc/Config.in
index bf46f07d93..9f3907b9be 100644
--- a/package/bcc/Config.in
+++ b/package/bcc/Config.in
@@ -9,6 +9,7 @@ config BR2_PACKAGE_BCC
 	depends on BR2_USE_WCHAR # clang, python3
 	depends on BR2_TOOLCHAIN_HAS_THREADS # clang, python3
 	depends on !BR2_STATIC_LIBS # clang, python3
+	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # clang, llvm
 	select BR2_PACKAGE_CLANG
 	select BR2_PACKAGE_ELFUTILS
 	select BR2_PACKAGE_FLEX # needs FlexLexer.h
@@ -48,3 +49,8 @@ comment "bcc needs a glibc toolchain, C++, wchar, threads, dynamic libs, gcc >=
 		|| !BR2_USE_WCHAR \
 		|| !BR2_TOOLCHAIN_HAS_THREADS \
 		|| BR2_STATIC_LIBS
+
+comment "bcc needs a toolchain not affected by GCC bug 64735"
+	depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
+	depends on BR2_USE_MMU
+	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
-- 
2.55.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-13  8:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-12 21:01 [Buildroot] [PATCH] package/bcc: propagate missing dependency from clang Thomas Petazzoni via buildroot
2026-09-13  8:23 ` Julien Olivain via buildroot

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.