![Thomas Petazzoni](/assets/img/avatar_default.png)
The libuv library uses __sync atomic built-ins: $ readelf -a -W output/target/usr/lib/libuv.so.1.0.0 | grep __sync 122: 00000000 0 NOTYPE GLOBAL DEFAULT UND __sync_val_compare_and_swap_4 but this is not currently taken into account in the libuv package, causing some build failures in packages using libuv as an optional dependency, such as janus-gateway and mosquitto. Therefore, this commit updates the libuv package with this additional dependency. The reverse dependencies of libuv are also updated: luv, luvi and moarvm. Fixes: - http://autobuild.buildroot.net/results/bdaa67d763c0d8d377a04529c74f73bee7d4ccef/ (janus-gateway) - http://autobuild.buildroot.net/results/2bc84ba2d1167018e2d48e5183ead22b6425dcf5/ (mosquitto) [Peter: drop cmake changes after cmake revert] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
28 lines
1.1 KiB
Plaintext
28 lines
1.1 KiB
Plaintext
config BR2_PACKAGE_MOARVM
|
|
bool "moarvm"
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
|
|
depends on !BR2_STATIC_LIBS # libuv
|
|
depends on BR2_USE_MMU # libuv
|
|
depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS # libatomic_ops
|
|
# needs AO_fetch_compare_and_swap, not implemented for sparcv8/sparcv9
|
|
depends on !BR2_sparc64 && !BR2_sparc
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
|
|
select BR2_PACKAGE_LIBUV
|
|
select BR2_PACKAGE_LIBTOMMATH
|
|
select BR2_PACKAGE_LIBATOMIC_OPS
|
|
# dyncall does not work on MIPS; libffi needs to be used.
|
|
# See: https://github.com/MoarVM/MoarVM/issues/222
|
|
select BR2_PACKAGE_LIBFFI if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
|
|
help
|
|
Short for "Metamodel On A Runtime", MoarVM is a virtual machine
|
|
built especially for Rakudo Perl 6 and the NQP Compiler Toolchain.
|
|
|
|
http://moarvm.com
|
|
|
|
comment "moarvm needs a toolchain w/ NPTL, dynamic library"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS
|
|
depends on !BR2_sparc64 && !BR2_sparc
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|