![Fabrice Fontaine](/assets/img/avatar_default.png)
Build fails with: In file included from dyncall_callback.c:35:0: dyncall_callback_ppc64.c: In function 'dcbNewCallback': dyncall_callback_ppc64.c:42:13: warning: implicit declaration of function 'dcAllocWX' [-Wimplicit-function-declaration] int err = dcAllocWX(sizeof(DCCallback), (void**) &pcb); ^~~~~~~~~ dyncall_callback_ppc64.c: In function 'dcbFreeCallback': dyncall_callback_ppc64.c:53:3: warning: implicit declaration of function 'dcFreeWX' [-Wimplicit-function-declaration] dcFreeWX(pcb, sizeof(DCCallback)); ^~~~~~~~ dyncall_callback_ppc64.S: Assembler messages: dyncall_callback_ppc64.S:180: Error: operand out of range (3 is not between 0 and 1) So select BR2_PACKAGE_LIBFFI for BR2_powerpc64 and BR2_powerpc64le as it is already done for MIPS Fixes: - http://autobuild.buildroot.org/results/97b53a74d9847c07f26178daeb1daff3b6c24813 - http://autobuild.buildroot.org/results/c35ac4bbc5fb04aabf5a719eddeedf55f7f1f4eb Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
30 lines
1.2 KiB
Plaintext
30 lines
1.2 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
|
|
# dyncall does not work also on powerpc64 and powerpc64le
|
|
select BR2_PACKAGE_LIBFFI if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || BR2_powerpc64 || BR2_powerpc64le
|
|
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
|