Skip to contentSkip to conversation

mesa3d: needs NPTL threading

PATCH New Baruch Siach 2 participants 2 messages Apr 20, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mesa3d: needs NPTL threading

Strictly speaking, linuxthreads (new) should be enough, since it includes pthread_barrier_* implementation. However, we currently have no clean way to distinguish between LT and LT.old.

Fixes:
http://autobuild.buildroot.net/results/66a/66a9d2c664e0a9b2b0c51b998c72c2ceda90ff9b/

---
 package/mesa3d/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/mesa3d/Config.in +4 -2
index 0793b486d97b..06f2bc382102 100644
@@ -12,6 +12,7 @@ menuconfig BR2_PACKAGE_MESA3D
 	select BR2_PACKAGE_LIBXCB if BR2_PACKAGE_XSERVER_XORG_SERVER
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_LARGEFILE
+	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
 	help
 	  Mesa 3D, an open-source implementation of the OpenGL specification.
 
@@ -124,5 +125,6 @@ config BR2_PACKAGE_PROVIDES_LIBGLES
 
 endif # BR2_PACKAGE_MESA3D
 
-comment "mesa3d needs a toolchain w/ C++, largefile"
-	depends on !BR2_LARGEFILE || !BR2_INSTALL_LIBSTDCPP
+comment "mesa3d needs a toolchain w/ C++, largefile, NPTL"
+	depends on !BR2_LARGEFILE || !BR2_INSTALL_LIBSTDCPP || \
+		!BR2_TOOLCHAIN_HAS_THREADS_NPTL
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 mesa3d: needs NPTL threading

Dear Baruch Siach,

Quoted 11 lines · Baruch Siach

Strictly speaking, linuxthreads (new) should be enough, since it includes pthread_barrier_* implementation. However, we currently have no clean way to distinguish between LT and LT.old.

Fixes:
http://autobuild.buildroot.net/results/66a/66a9d2c664e0a9b2b0c51b998c72c2ceda90ff9b/

---
 package/mesa3d/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com