package/mpv: needs NPTL
mpv unconditionally uses pthread_getcpuclockid since version 0.33.0 andfd3caa264e
resulting in the following build failure without NPTL since commite3cf26dda3
: ../common/stats.c: In function 'get_thread_cpu_time_ns': ../common/stats.c:75:9: error: implicit declaration of function 'pthread_getcpuclockid'; did you mean 'pthread_getspecific'? [-Werror=implicit-function-declaration] 75 | if (pthread_getcpuclockid(thread, &id) == 0 && | ^~~~~~~~~~~~~~~~~~~~~ | pthread_getspecific Fixes: - http://autobuild.buildroot.org/results/98cde5cbb0844c6ef483a75cf9a6f3fd3a46c693 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
3c4d628827
commit
720a68e33b
@ -8,7 +8,7 @@ config BR2_PACKAGE_MPV
|
||||
bool "mpv"
|
||||
depends on BR2_INSTALL_LIBSTDCPP # libass
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libass
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h
|
||||
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
||||
@ -34,10 +34,10 @@ config BR2_PACKAGE_MPV
|
||||
|
||||
https://mpv.io/
|
||||
|
||||
comment "mpv needs a toolchain w/ C++, threads, gcc >= 4.9"
|
||||
comment "mpv needs a toolchain w/ C++, NPTL, gcc >= 4.9"
|
||||
depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
|
||||
!BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
|
@ -1,7 +1,7 @@
|
||||
config BR2_PACKAGE_TOVID
|
||||
bool "tovid"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # mpv
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_PACKAGE_PYTHON3
|
||||
@ -29,12 +29,12 @@ config BR2_PACKAGE_TOVID
|
||||
|
||||
http://tovid.wikia.com/wiki/Installing_tovid
|
||||
|
||||
comment "tovid needs a toolchain w/ threads, C++, wchar, gcc >= 4.9"
|
||||
comment "tovid needs a toolchain w/ NPTL, C++, wchar, gcc >= 4.9"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS \
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL \
|
||||
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \
|
||||
|| !BR2_INSTALL_LIBSTDCPP \
|
||||
|| !BR2_USE_WCHAR
|
||||
@ -45,6 +45,6 @@ comment "tovid depends on python3"
|
||||
depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC
|
||||
|
Loading…
Reference in New Issue
Block a user