mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
package/libuv: needs gcc >= 4.9
libuv unconditionally uses stdatomic since2f33980a91resulting in the following build failure with gcc < 4.9 since bump to version 1.45.0 in commit21764235cb: In file included from src/fs-poll.c:23:0: src/uv-common.h:41:24: fatal error: stdatomic.h: No such file or directory # include <stdatomic.h> ^ Fixes: - http://autobuild.buildroot.org/results/6b9ce25ba7e5c5602313d533f460f8829f767f81 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle <arnout@mind.be> (cherry picked from commit5724145b1e) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
7b548ebabe
commit
0dcf973e55
@@ -4,6 +4,7 @@ config BR2_PACKAGE_BIND
|
|||||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
|
||||||
depends on !BR2_STATIC_LIBS # libuv
|
depends on !BR2_STATIC_LIBS # libuv
|
||||||
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libuv
|
||||||
select BR2_PACKAGE_LIBUV
|
select BR2_PACKAGE_LIBUV
|
||||||
select BR2_PACKAGE_OPENSSL
|
select BR2_PACKAGE_OPENSSL
|
||||||
help
|
help
|
||||||
@@ -43,7 +44,8 @@ config BR2_PACKAGE_BIND_TOOLS
|
|||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
comment "bind needs a toolchain w/ NPTL, dynamic library"
|
comment "bind needs a toolchain w/ NPTL, dynamic library, gcc >= 4.9"
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
|
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \
|
||||||
|
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ config BR2_PACKAGE_CMAKE
|
|||||||
config BR2_PACKAGE_CMAKE_CTEST
|
config BR2_PACKAGE_CMAKE_CTEST
|
||||||
bool "ctest"
|
bool "ctest"
|
||||||
depends on BR2_PACKAGE_CMAKE_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_CMAKE_ARCH_SUPPORTS
|
||||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # from jsoncpp
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # jsoncpp, libuv
|
||||||
depends on BR2_USE_WCHAR # libarchive
|
depends on BR2_USE_WCHAR # libarchive
|
||||||
depends on BR2_INSTALL_LIBSTDCPP
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
depends on !BR2_STATIC_LIBS
|
depends on !BR2_STATIC_LIBS
|
||||||
@@ -40,10 +40,10 @@ config BR2_PACKAGE_CMAKE_CTEST
|
|||||||
|
|
||||||
http://www.cmake.org/
|
http://www.cmake.org/
|
||||||
|
|
||||||
comment "ctest needs a toolchain w/ C++, wchar, dynamic library, gcc >= 4.7, NPTL"
|
comment "ctest needs a toolchain w/ C++, wchar, dynamic library, gcc >= 4.9, NPTL"
|
||||||
depends on BR2_PACKAGE_CMAKE_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_CMAKE_ARCH_SUPPORTS
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
|
||||||
BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \
|
BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
|
||||||
!BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
!BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||||
|
|||||||
@@ -4,13 +4,15 @@ config BR2_PACKAGE_LIBUV
|
|||||||
depends on BR2_USE_MMU # fork()
|
depends on BR2_USE_MMU # fork()
|
||||||
depends on !BR2_STATIC_LIBS
|
depends on !BR2_STATIC_LIBS
|
||||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||||
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h
|
||||||
help
|
help
|
||||||
libuv is a multi-platform support library with a focus
|
libuv is a multi-platform support library with a focus
|
||||||
on asynchronous I/O.
|
on asynchronous I/O.
|
||||||
|
|
||||||
https://github.com/libuv/libuv
|
https://github.com/libuv/libuv
|
||||||
|
|
||||||
comment "libuv needs a toolchain w/ NPTL, dynamic library"
|
comment "libuv needs a toolchain w/ NPTL, dynamic library, gcc >= 4.9"
|
||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
|
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \
|
||||||
|
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||||
|
|||||||
@@ -4,13 +4,15 @@ config BR2_PACKAGE_LUV
|
|||||||
depends on BR2_USE_MMU # libuv
|
depends on BR2_USE_MMU # libuv
|
||||||
depends on !BR2_STATIC_LIBS # libuv
|
depends on !BR2_STATIC_LIBS # libuv
|
||||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
|
||||||
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libuv
|
||||||
select BR2_PACKAGE_LIBUV
|
select BR2_PACKAGE_LIBUV
|
||||||
help
|
help
|
||||||
libuv bindings for LuaJIT and Lua.
|
libuv bindings for LuaJIT and Lua.
|
||||||
|
|
||||||
https://github.com/luvit/luv
|
https://github.com/luvit/luv
|
||||||
|
|
||||||
comment "luv needs a toolchain w/ NPTL, dynamic library"
|
comment "luv needs a toolchain w/ NPTL, dynamic library, gcc >= 4.9"
|
||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
|
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \
|
||||||
|
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ config BR2_PACKAGE_LUVI
|
|||||||
depends on !BR2_STATIC_LIBS # libuv
|
depends on !BR2_STATIC_LIBS # libuv
|
||||||
depends on BR2_PACKAGE_LUAJIT
|
depends on BR2_PACKAGE_LUAJIT
|
||||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
|
||||||
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libuv
|
||||||
select BR2_PACKAGE_LIBUV
|
select BR2_PACKAGE_LIBUV
|
||||||
select BR2_PACKAGE_LUV
|
select BR2_PACKAGE_LUV
|
||||||
select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
|
select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
|
||||||
@@ -25,8 +26,9 @@ config BR2_PACKAGE_LUVI
|
|||||||
|
|
||||||
https://github.com/luvit/luvi
|
https://github.com/luvit/luvi
|
||||||
|
|
||||||
comment "luvi needs a toolchain w/ NPTL, dynamic library"
|
comment "luvi needs a toolchain w/ NPTL, dynamic library, gcc >= 4.9"
|
||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
|
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \
|
||||||
|
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ config BR2_PACKAGE_MOARVM
|
|||||||
depends on BR2_USE_MMU # libuv
|
depends on BR2_USE_MMU # libuv
|
||||||
depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS # libatomic_ops
|
depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS # libatomic_ops
|
||||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
|
||||||
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libuv
|
||||||
select BR2_PACKAGE_LIBUV
|
select BR2_PACKAGE_LIBUV
|
||||||
select BR2_PACKAGE_LIBTOMMATH
|
select BR2_PACKAGE_LIBTOMMATH
|
||||||
select BR2_PACKAGE_LIBATOMIC_OPS
|
select BR2_PACKAGE_LIBATOMIC_OPS
|
||||||
@@ -18,8 +19,9 @@ config BR2_PACKAGE_MOARVM
|
|||||||
|
|
||||||
http://moarvm.com
|
http://moarvm.com
|
||||||
|
|
||||||
comment "moarvm needs a toolchain w/ NPTL, dynamic library"
|
comment "moarvm needs a toolchain w/ NPTL, dynamic library, gcc >= 4.9"
|
||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
|
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \
|
||||||
|
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS
|
||||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ config BR2_PACKAGE_NETDATA
|
|||||||
depends on BR2_USE_MMU # fork()
|
depends on BR2_USE_MMU # fork()
|
||||||
depends on !BR2_STATIC_LIBS # libuv
|
depends on !BR2_STATIC_LIBS # libuv
|
||||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
|
||||||
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libuv
|
||||||
select BR2_PACKAGE_LIBUV
|
select BR2_PACKAGE_LIBUV
|
||||||
select BR2_PACKAGE_UTIL_LINUX
|
select BR2_PACKAGE_UTIL_LINUX
|
||||||
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
|
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
|
||||||
@@ -35,7 +36,8 @@ comment "prometheus remote write backend needs a toolchain w/ C++, gcc >= 4.8"
|
|||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
comment "netdata needs a toolchain w/ NPTL, dynamic library"
|
comment "netdata needs a toolchain w/ NPTL, dynamic library, gcc >= 4.9"
|
||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
|
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \
|
||||||
|
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ config BR2_PACKAGE_PYTHON_UVLOOP
|
|||||||
depends on BR2_USE_MMU # libuv
|
depends on BR2_USE_MMU # libuv
|
||||||
depends on !BR2_STATIC_LIBS # libuv
|
depends on !BR2_STATIC_LIBS # libuv
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
|
||||||
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libuv
|
||||||
select BR2_PACKAGE_LIBUV
|
select BR2_PACKAGE_LIBUV
|
||||||
select BR2_PACKAGE_PYTHON3_SSL
|
select BR2_PACKAGE_PYTHON3_SSL
|
||||||
help
|
help
|
||||||
@@ -11,7 +12,8 @@ config BR2_PACKAGE_PYTHON_UVLOOP
|
|||||||
|
|
||||||
http://github.com/MagicStack/uvloop
|
http://github.com/MagicStack/uvloop
|
||||||
|
|
||||||
comment "python-uvloop needs a toolchain w/ NPTL, dynamic library"
|
comment "python-uvloop needs a toolchain w/ NPTL, dynamic library, gcc >= 4.9"
|
||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
|
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \
|
||||||
|
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ config BR2_PACKAGE_TTYD
|
|||||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
|
||||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv, json-c
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv, json-c
|
||||||
depends on BR2_USE_MMU # libuv
|
depends on BR2_USE_MMU # libuv
|
||||||
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libuv
|
||||||
select BR2_PACKAGE_JSON_C
|
select BR2_PACKAGE_JSON_C
|
||||||
select BR2_PACKAGE_LIBUV
|
select BR2_PACKAGE_LIBUV
|
||||||
select BR2_PACKAGE_LIBWEBSOCKETS
|
select BR2_PACKAGE_LIBWEBSOCKETS
|
||||||
@@ -15,7 +16,8 @@ config BR2_PACKAGE_TTYD
|
|||||||
|
|
||||||
https://github.com/tsl0922/ttyd
|
https://github.com/tsl0922/ttyd
|
||||||
|
|
||||||
comment "ttyd needs a toolchain w/ NPTL, dynamic library"
|
comment "ttyd needs a toolchain w/ NPTL, dynamic library, gcc >= 4.9"
|
||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
|
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \
|
||||||
|
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ config BR2_PACKAGE_WAMPCC
|
|||||||
depends on !BR2_STATIC_LIBS # libuv
|
depends on !BR2_STATIC_LIBS # libuv
|
||||||
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
||||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
|
||||||
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libuv
|
||||||
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::shared_future
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::shared_future
|
||||||
select BR2_PACKAGE_LIBUV
|
select BR2_PACKAGE_LIBUV
|
||||||
select BR2_PACKAGE_JANSSON
|
select BR2_PACKAGE_JANSSON
|
||||||
@@ -16,12 +17,13 @@ config BR2_PACKAGE_WAMPCC
|
|||||||
|
|
||||||
https://github.com/darrenjs/wampcc
|
https://github.com/darrenjs/wampcc
|
||||||
|
|
||||||
comment "wampcc needs a toolchain w/ C++, NPTL, dynamic library"
|
comment "wampcc needs a toolchain w/ C++, NPTL, dynamic library, gcc >= 4.9"
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
||||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||||
depends on !BR2_INSTALL_LIBSTDCPP || \
|
depends on !BR2_INSTALL_LIBSTDCPP || \
|
||||||
!BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
|
!BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS || \
|
||||||
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||||
|
|
||||||
comment "wampcc needs a toolchain not affected by GCC bug 64735"
|
comment "wampcc needs a toolchain not affected by GCC bug 64735"
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ config BR2_PACKAGE_XMRIG
|
|||||||
# xmrig needs fenv.h which is not provided by uclibc
|
# xmrig needs fenv.h which is not provided by uclibc
|
||||||
depends on !BR2_TOOLCHAIN_USES_UCLIBC
|
depends on !BR2_TOOLCHAIN_USES_UCLIBC
|
||||||
depends on !BR2_STATIC_LIBS # libuv
|
depends on !BR2_STATIC_LIBS # libuv
|
||||||
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libuv
|
||||||
depends on BR2_INSTALL_LIBSTDCPP
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
select BR2_PACKAGE_LIBUV
|
select BR2_PACKAGE_LIBUV
|
||||||
help
|
help
|
||||||
@@ -22,10 +23,11 @@ config BR2_PACKAGE_XMRIG
|
|||||||
|
|
||||||
https://xmrig.com
|
https://xmrig.com
|
||||||
|
|
||||||
comment "xmrig needs a glibc or musl toolchain w/ NPTL, dynamic library, C++"
|
comment "xmrig needs a glibc or musl toolchain w/ NPTL, dynamic library, C++, gcc >= 4.9"
|
||||||
depends on BR2_PACKAGE_XMRIG_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_XMRIG_ARCH_SUPPORTS
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
|
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
|
||||||
BR2_TOOLCHAIN_USES_UCLIBC || BR2_STATIC_LIBS || \
|
BR2_TOOLCHAIN_USES_UCLIBC || BR2_STATIC_LIBS || \
|
||||||
!BR2_INSTALL_LIBSTDCPP
|
!BR2_INSTALL_LIBSTDCPP || \
|
||||||
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||||
|
|||||||
Reference in New Issue
Block a user