package/elfutils: needs threads
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 3 Oct 2020 19:35:47 +0000 (21:35 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 4 Oct 2020 09:38:01 +0000 (11:38 +0200)
threads is a mandatory dependency since version 0.178 and
https://sourceware.org/git/?p=elfutils.git;a=commitdiff;h=e9d4067a15eb100c0598a9895567aac6e9ed6a10

Fixes:
 - http://autobuild.buildroot.org/results/1c818a50530816ba80864efaacb724cb4bdeebf9

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/elfutils/Config.in
package/kexec-lite/Config.in
package/ltrace/Config.in
package/racehound/Config.in
package/sysdig/Config.in

index f094e7b86538a57494769e265fae349a81b63f6c..5f45de14ab769f7691bfa4b6b88de42c9b70ce7f 100644 (file)
@@ -1,11 +1,13 @@
-comment "elfutils needs a uClibc or glibc toolchain w/ wchar, dynamic library"
+comment "elfutils needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads"
        depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \
+               || !BR2_TOOLCHAIN_HAS_THREADS \
                || !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
 
 config BR2_PACKAGE_ELFUTILS
        bool "elfutils"
        depends on BR2_USE_WCHAR
        depends on !BR2_STATIC_LIBS
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        # Only glibc and uClibc implement the myriad of required GNUisms
        depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC
        select BR2_PACKAGE_ZLIB
index 3e84f90d5757e17d517b8c6febbc08f4c3475165..abfa95ab36289e5af8fab7932e54d4c300273ff8 100644 (file)
@@ -3,6 +3,7 @@ config BR2_PACKAGE_KEXEC_LITE
        depends on BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
        depends on !BR2_STATIC_LIBS # dtc, elfutils
        depends on BR2_USE_WCHAR # elfutils
+       depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils
        depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils
        select BR2_PACKAGE_ELFUTILS
        select BR2_PACKAGE_DTC
@@ -17,7 +18,8 @@ config BR2_PACKAGE_KEXEC_LITE
 
          https://github.com/antonblanchard/kexec-lite
 
-comment "kexec-lite needs a uClibc or glibc toolchain w/ wchar, dynamic library"
+comment "kexec-lite needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads"
        depends on BR2_powerpc || BR2_powerpc64
        depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR \
+               || !BR2_TOOLCHAIN_HAS_THREADS \
                || !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
index 667338a26ea9af74dcf2053b0d40ecabc545ccc7..ce5a85edcf98bbd192f372b5615af2e1de16acc6 100644 (file)
@@ -14,6 +14,7 @@ config BR2_PACKAGE_LTRACE
        bool "ltrace"
        depends on BR2_USE_WCHAR # elfutils
        depends on !BR2_STATIC_LIBS # elfutils
+       depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils
        depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils
        depends on BR2_PACKAGE_LTRACE_ARCH_SUPPORTS
        select BR2_PACKAGE_ELFUTILS
@@ -25,7 +26,8 @@ config BR2_PACKAGE_LTRACE
 
          http://ltrace.org
 
-comment "ltrace needs a uClibc or glibc toolchain w/ wchar, dynamic library"
+comment "ltrace needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads"
        depends on BR2_PACKAGE_LTRACE_ARCH_SUPPORTS
        depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \
+               || !BR2_TOOLCHAIN_HAS_THREADS \
                || !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
index 2d1ccb838151ca2b2ea970a2abc41794ab839c5d..d13f90adb487e902df10f05defb3dc1bda6b797e 100644 (file)
@@ -4,6 +4,7 @@ config BR2_PACKAGE_RACEHOUND
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_USE_WCHAR # elfutils
        depends on !BR2_STATIC_LIBS # elfutils
+       depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils
        depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils
        # only x86/x86_64 supported
        depends on BR2_i386 || BR2_x86_64
@@ -29,7 +30,8 @@ comment "racehound needs an Linux kernel >= 3.14 to be built"
        depends on !BR2_LINUX_KERNEL
        depends on BR2_i386 || BR2_x86_64
 
-comment "racehound needs a uClibc or glibc toolchain w/ C++, wchar, dynamic library"
+comment "racehound needs a uClibc or glibc toolchain w/ C++, wchar, dynamic library, threads"
        depends on BR2_i386 || BR2_x86_64
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || BR2_STATIC_LIBS \
+               || !BR2_TOOLCHAIN_HAS_THREADS \
                || !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
index 0ca468c396df0caaae0d1bf82c1dbcaf1713ec81..7d3c5703925e41a879a93acfabd71b0ed84e380f 100644 (file)
@@ -3,7 +3,7 @@ config BR2_PACKAGE_SYSDIG
        depends on BR2_LINUX_KERNEL
        depends on BR2_INSTALL_LIBSTDCPP # libjson
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
-       depends on BR2_TOOLCHAIN_HAS_THREADS # jq
+       depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, jq
        depends on !BR2_STATIC_LIBS # elfutils
        depends on BR2_USE_WCHAR # elfutils
        depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils