mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
package/netsniff-ng: needs NPTL
netsniff-ng unconditionally uses pthread_spin_lock since its addition in commit500d287b07and1a9fbac03cresulting in the following build failure: /home/autobuild/autobuild/instance-1/output-1/per-package/netsniff-ng/host/bin/../lib/gcc/x86_64-buildroot-linux-uclibc/10.3.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: netsniff-ng/tprintf.o: in function `tprintf_flush': tprintf.c:(.text+0x42c): undefined reference to `pthread_spin_lock' Fixes: - http://autobuild.buildroot.org/results/ceadbdea8cc35bfd7d601a6d4b18137f81f61406 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> (cherry picked from commita969e0f63c) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
eed6b96216
commit
1167f95b78
@@ -1,7 +1,7 @@
|
||||
config BR2_PACKAGE_NETSNIFF_NG
|
||||
bool "netsniff-ng"
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_spin_lock
|
||||
depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
|
||||
select BR2_PACKAGE_LIBPCAP
|
||||
select BR2_PACKAGE_LIBNETFILTER_CONNTRACK
|
||||
@@ -28,7 +28,7 @@ comment "mausezahn needs glibc or musl toolchain"
|
||||
|
||||
endif
|
||||
|
||||
comment "netsniff-ng needs a toolchain w/ threads, headers >= 3.0"
|
||||
comment "netsniff-ng needs a toolchain w/ NPTL, headers >= 3.0"
|
||||
depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
|
||||
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
|
||||
|
||||
Reference in New Issue
Block a user