Illegal instruction core dump
mingodad opened this issue · comments
Domingo Alvarez Duarte commented
Hello !
I'm converting snabb to ljs (see https://github.com/mingodad/snabb-ljs and https://github.com/mingodad/ljs ) and now it pass all selftests the snabb luajit pass on my machine.
But it seems that there is some asm code using instructions for features not present on the cpu.
I've tested on Celeron (sse 4.1) and Atom (sse 3) cpus.
lib.ctable:Illegal instruction (core dumped)
lib.hash.siphash:selftest: .Illegal instruction (core dumped)
lib.ipsec.aes_128_gcm:Illegal instruction (core dumped)
lib.ipsec.esp:Illegal instruction (core dumped)
program.lwaftr.tests.end-to-end.selftest.sh:./core-end-to-end.sh: line 24: 5969 Illegal instruction (core dumped) ${SNABB_LWAFTR} check $conf $v4_in $v6_in $endoutv4 $endoutv6 $counters_path
program.lwaftr.tests.end-to-end.selftest.sh:./core-end-to-end.sh: line 24: 5983 Illegal instruction (core dumped) ${SNABB_LWAFTR} check $conf $v4_in $v6_in $endoutv4 $endoutv6 $counters_path
program.lwaftr.tests.soaktest.selftest.sh:./core-soaktest.sh: line 16: 5920 Illegal instruction (core dumped) $SNABB_LWAFTR soaktest -D $DURATION "$conf" "$in_v4" "$in_v6"
program.lwaftr.tests.soaktest.selftest.sh:./core-soaktest.sh: line 16: 5934 Illegal instruction (core dumped) $SNABB_LWAFTR soaktest -D $DURATION "$conf" "$in_v4" "$in_v6"
Cheers !