Skip to contentSkip to conversation

bluez-alsa: needs NPTL

PATCH New Baruch Siach 2 participants 2 messages May 1, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bluez-alsa: needs NPTL

bluez-alsa calls pthread_setname_np() which is only provided by the NPTL pthread implementation.

Fixes:
http://autobuild.buildroot.net/results/707/707fd46921b1cfda90e9c30be33ca918f2d0cb00/
http://autobuild.buildroot.net/results/7a6/7a632c2b6b9021aa6edcd5126400de26e2b8ca42/

---
 package/bluez-alsa/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
package/bluez-alsa/Config.in +3 -3
index 317762057c3d..f082f4b83821 100644
@@ -2,7 +2,7 @@ config BR2_PACKAGE_BLUEZ_ALSA
 	bool "bluez-alsa"
 	depends on !BR2_STATIC_LIBS # bluez5
 	depends on !BR2_PACKAGE_BLUEZ_UTILS # bluez5
-	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
 	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # bluez5
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # bluez5
 	depends on BR2_USE_MMU # bluez5 -> dbus
@@ -28,8 +28,8 @@ config BR2_PACKAGE_BLUEZ_ALSA_HCITOP
 
 endif
 
-comment "bluez-alsa needs a toolchain w/ wchar, threads, headers >= 3.4, dynamic library"
-	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+comment "bluez-alsa needs a toolchain w/ wchar, NPTL, headers >= 3.4, dynamic library"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
 		!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || BR2_STATIC_LIBS
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4
 	depends on BR2_USE_MMU
Signature · 1 line
2.17.0
#1 lore raw

PATCH 1/1 bluez-alsa: needs NPTL

Hello,

Quoted 7 lines · Baruch Siach

bluez-alsa calls pthread_setname_np() which is only provided by the NPTL pthread implementation.

Fixes:
http://autobuild.buildroot.net/results/707/707fd46921b1cfda90e9c30be33ca918f2d0cb00/
http://autobuild.buildroot.net/results/7a6/7a632c2b6b9021aa6edcd5126400de26e2b8ca42/

Quoted 5 lines
---
 package/bluez-alsa/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Applied to master, thanks.

Thomas

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