Skip to contentSkip to conversation

lttng-babeltrace: needs posix_fallocate

PATCH New Baruch Siach 2 participants 2 messages May 23, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lttng-babeltrace: needs posix_fallocate

Fixes:
http://autobuild.buildroot.net/results/d8b/d8b5ccc643fe0fb5577392fed37e05b89d4a3951/

---
 package/lttng-babeltrace/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/lttng-babeltrace/Config.in +4 -2
index cb857c80beb2..fae49ab21594 100644
@@ -8,6 +8,7 @@ config BR2_PACKAGE_LTTNG_BABELTRACE
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
 	depends on BR2_USE_MMU # libglib2
 	depends on BR2_LARGEFILE # util-linux
+	depends on BR2_UCLIBC_VERSION_SNAPSHOT || BR2_TOOLCHAIN_USES_GLIBC # posix_fallocate
 	help
 	  Babeltrace is part of the LTTng 2.x project.
 
@@ -25,7 +26,8 @@ config BR2_PACKAGE_LTTNG_BABELTRACE
 
 	  http://lttng.org
 
-comment "lttng-babeltrace needs a toolchain w/ wchar, threads, largefile"
+comment "lttng-babeltrace needs a uclibc snapshot or (e)glib toolchain w/ wchar, threads, largefile"
 	depends on BR2_PACKAGE_LTTNG_TOOLS
 	depends on BR2_USE_MMU
-	depends on !BR2_USE_WCHAR || !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_USE_WCHAR || !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS \
+		|| !BR2_UCLIBC_VERSION_SNAPSHOT || !BR2_TOOLCHAIN_USES_GLIBC
Signature · 1 line
2.0.0.rc2