Skip to contentSkip to conversation

package/bcc: propagate missing dependency from clang

PATCH In review Thomas Petazzoni via buildroot 1 participant 2 messages Sep 12 – Sep 13

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/bcc: propagate missing dependency from clang

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")
---
 package/bcc/Config.in | 6 ++++++
 1 file changed, 6 insertions(+)
package/bcc/Config.in +6 -0
index bf46f07d93..9f3907b9be 100644
@@ -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
Signature · 6 lines
2.55.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 7 lines · Thomas Petazzoni via buildroot

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")

Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot