Skip to contentSkip to conversation

package/uftrace: needs threads

PATCH New Fabrice Fontaine 2 participants 2 messages Apr 26, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/uftrace: needs threads

uftrace needs threads since its addition to buildroot in commit 09c97972d9f90b69cfc36f9ffe9e22c13daf9307

Fixes:
- http://autobuild.buildroot.org/results/d27c34a2f773aeb3c806d56dd2468d17caf2fbc6

---
 package/uftrace/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/uftrace/Config.in +4 -0
index 7aa74c9aa9..9af7ee8c28 100644
@@ -8,6 +8,7 @@ config BR2_PACKAGE_UFTRACE_ARCH_SUPPORTS
 config BR2_PACKAGE_UFTRACE
 	bool "uftrace"
 	depends on BR2_PACKAGE_UFTRACE_ARCH_SUPPORTS
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_ARGP_STANDALONE if \
 	       BR2_TOOLCHAIN_USES_UCLIBC || \
 	       BR2_TOOLCHAIN_USES_MUSL
@@ -20,3 +21,6 @@ config BR2_PACKAGE_UFTRACE
 	  analysis of the program execution and performance.
 
 	  https://github.com/namhyung/uftrace
+
+comment "uftrace needs a toolchain w/ threads"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
2.30.2
#1 lore raw

PATCH 1/1 package/uftrace: needs threads

Quoted 10 lines · On Mon, 26 Apr 2021 20:42:55 +0200 Fabrice Fontaine…

uftrace needs threads since its addition to buildroot in commit 09c97972d9f90b69cfc36f9ffe9e22c13daf9307

Fixes:
- http://autobuild.buildroot.org/results/d27c34a2f773aeb3c806d56dd2468d17caf2fbc6

---
 package/uftrace/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com