package/pistache: needs NPTL
pistache needs NPTL as it unconditionally uses pthread_setname_np sinceb283c32963
resulting in the following uclibc build failure since commit82e61bed82
: ../src/common/reactor.cc: In lambda function: ../src/common/reactor.cc:512:25: error: 'pthread_setname_np' was not declared in this scope; did you mean 'pthread_setcanceltype'? 512 | pthread_setname_np(pthread_self(), | ^~~~~~~~~~~~~~~~~~ | pthread_setcanceltype Fixes:82e61bed82
- http://autobuild.buildroot.org/results/b2b22e4f9684aca0246650673fd8c33019712ddf - http://autobuild.buildroot.org/results/1597bfe2a57cd3aef54d331447dd81cae020d434 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit b6db4e2a79da7aadcbe2beda3e00381afb9e3f28) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
eb834ee93b
commit
93fa102702
@ -2,7 +2,7 @@ config BR2_PACKAGE_PISTACHE
|
||||
bool "pistache"
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17, std::optional
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597
|
||||
select BR2_PACKAGE_RAPIDJSON
|
||||
@ -13,9 +13,9 @@ config BR2_PACKAGE_PISTACHE
|
||||
|
||||
https://github.com/oktal/pistache
|
||||
|
||||
comment "pistache needs a toolchain w/ C++, gcc >= 7, threads, wchar, not binutils bug 27597"
|
||||
comment "pistache needs a toolchain w/ C++, gcc >= 7, NPTL, wchar, not binutils bug 27597"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
|
||||
!BR2_USE_WCHAR || \
|
||||
BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597
|
||||
|
Loading…
Reference in New Issue
Block a user