[Buildroot] [PATCH] package/bcc: propagate missing dependency from clang
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sat Sep 12 21:01:16 UTC 2026
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 at 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
More information about the buildroot
mailing list