Skip to contentSkip to conversation

squeezelite: needs NPTL

PATCH New Waldemar Brodkorb 3 participants 3 messages Aug 18, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 squeezelite: needs NPTL

It uses PTHREAD_PRIO_INHERIT, which isn't available in Linuxthreads.

Fixes:
http://autobuild.buildroot.net/results/455/455465c332d291929c1612d18a9e7448d9c76e73/

---
 package/squeezelite/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
package/squeezelite/Config.in +3 -3
index 79d2947..154daaa 100644
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_SQUEEZELITE
 	bool "squeezelite"
 	depends on BR2_USE_WCHAR # flac
-	depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
+	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # alsa-lib
 	depends on BR2_USE_MMU # mpg123
 	depends on !BR2_STATIC_LIBS # dlopen
 	select BR2_PACKAGE_ALSA_LIB
@@ -36,7 +36,7 @@ config BR2_PACKAGE_SQUEEZELITE_VISEXPORT
 
 endif
 
-comment "squeezelite needs a toolchain w/ wchar, threads, dynamic library"
+comment "squeezelite needs a toolchain w/ wchar, NPTL, dynamic library"
 	depends on BR2_USE_MMU
-	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS \
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS_NPTL \
 		|| BR2_STATIC_LIBS
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 squeezelite: needs NPTL

Hi Waldemar,

Quoted 15 lines · Waldemar Brodkorb

It uses PTHREAD_PRIO_INHERIT, which isn't available in Linuxthreads.

Fixes:
http://autobuild.buildroot.net/results/455/455465c332d291929c1612d18a9e7448d9c76e73/

---
 package/squeezelite/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
package/squeezelite/Config.in +0 -0
index 79d2947..154daaa 100644

package/squeezelite/Config.in line 4

Quoted 5 lines
package/squeezelite/Config.in +1 -1
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_SQUEEZELITE
 	bool "squeezelite"
 	depends on BR2_USE_WCHAR # flac
-	depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
+	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # alsa-lib

The 'alsa-lib' comment should be dropped, then. NPTL (or threading for that matter) is a dependency of squeezelite itself.

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
#2 lore raw

PATCH 1/1 squeezelite: needs NPTL

In reply to Waldemar Brodkorb

Hello,

Quoted 9 lines · Waldemar Brodkorb

It uses PTHREAD_PRIO_INHERIT, which isn't available in Linuxthreads.

Fixes:
http://autobuild.buildroot.net/results/455/455465c332d291929c1612d18a9e7448d9c76e73/

---
 package/squeezelite/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Applied to master, after fixing the issue pointed by Baruch (the NPTL dependency is not about alsa-lib).

Thanks!

Thomas

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