rakudo build fails on armhf (was: Re: rakudo_2016.09-1_amd64.changes ACCEPTED into unstable)

Dominique Dumont dod at debian.org
Fri Oct 7 08:57:27 UTC 2016

On Friday, 7 October 2016 00:45:29 CEST Daniel Dehennin wrote:
> The rakudo tests for amd64 and i386 works with that MoarVM patch.

MoarVM builds fine on armhf, but rakudo build fails:

gcc  -L/usr/lib/moar -shared -fPIC -O3 -DNDEBUG -g3 -Wl,-rpath,"//usr/lib/moar" -Wl,-rpath,"/usr/share/perl6/site/lib" -Wl,-rpath,"/usr/lib/perl6/site/lib" -Wl,-z,relro -Wl,-z,now  -O3 -DNDEBUG -lffi -ltommath -latomic_ops -luv -lm -lpthread -lrt -ldl -o dynext/libperl6_ops_moar.so dynext/perl6_ops.o dynext/container.o -lmoar 
/usr/bin/nqp-m --target=mbc --output=blib/Perl6/Ops.moarvm --encoding=utf8 \
/usr/bin/nqp-m --target=mbc --output=blib/Perl6/DebugPod.moarvm --encoding=utf8 \
/usr/bin/nqp-m --target=mbc --output=blib/Perl6/Pod.moarvm --encoding=utf8 \
/usr/bin/nqp-m --target=mbc --output=blib/Perl6/World.moarvm --encoding=utf8 \
/usr/bin/nqp-m tools/build/gen-cat.nqp moar src/Perl6/Actions.nqp > gen/moar/m-Perl6-Actions.nqp
/usr/bin/nqp-m --target=mbc --output=blib/Perl6/Actions.moarvm --encoding=utf8 \
qemu: uncaught target signal 8 (Floating point exception) - core dumped
Floating point exception
Makefile:414: recipe for target 'blib/Perl6/Actions.moarvm' failed
make[2]: *** [blib/Perl6/Actions.moarvm] Error 136
make[2]: Leaving directory '/root/pkg-rakudo'

In more details:

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Core was generated by `/usr/bin/moar --libpath=/usr/share/nqp/lib /usr/share/nqp/lib/nqp.moarvm --targ'.
Program terminated with signal SIGFPE, Arithmetic exception.
#0  __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:47
47      ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S: No such file or directory.
(gdb) bt
#0  __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:47
#1  0xf644a3cc in __libc_signal_restore_set (set=0xf6ffef98) at ../sysdeps/unix/sysv/linux/nptl-signals.h:79
#2  __GI_raise (sig=<optimized out>) at ../sysdeps/unix/sysv/linux/raise.c:55
#3  0xf661027a in __aeabi_ldiv0 () from //usr/lib/moar/libmoar.so
#4  0xf65b771c in is_full_collection (tc=<optimized out>) at src/gc/orchestrate.c:286
#5  0xf65b7cfc in MVM_gc_enter_from_allocator (tc=tc at entry=0x23458) at src/gc/orchestrate.c:366
#6  0xf65b809a in MVM_gc_allocate_nursery (tc=0x23458, size=20) at src/gc/allocation.c:32
#7  0xf65b81f8 in MVM_gc_allocate_object (tc=0x23458, st=<optimized out>) at src/gc/allocation.c:86
#8  0xf65adf06 in MVM_box_str (tc=0x23458, value=<optimized out>, type=0x4c308, dst=0xfc4c0) at src/core/coerce.c:447
#9  0xf659f6da in MVM_interp_run (tc=0x2, tc at entry=0x23458, initial_invoke=0xf, invoke_data=0x0) at src/core/interp.c:2035
#10 0xf660cd58 in MVM_vm_run_file (instance=0x23008, filename=0xf6fff850 "/usr/share/nqp/lib/nqp.moarvm") at src/moar.c:304
#11 0x00010c70 in main (argc=7, argv=0xf6fff714) at src/main.c:191

All the best

 https://github.com/dod38fr/   -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/  -o-   irc: dod at irc.debian.org

More information about the Pkg-rakudo-devel mailing list