Test EMB.0003.WITH-LISP-FPE fails with DIVISION-BY-ZERO on ppc64el
Using ECL 20.4.24 on Debian unstable on the architecture ppc64el I get the following failure from make check:
Running test EMB.0003.WITH-LISP-FPE
Condition of type: DIVISION-BY-ZERO
#<a DIVISION-BY-ZERO 0x7fff9b3df8c0>
Available restarts:
1. (CONTINUE) Ignore signal
Top level in: #<process TOP-LEVEL 0x7fffa31a0f80>.
Since this interrupts the test suite there might be more failures after this.
The reason I ran the ECL test suite was that we are getting many failures in the sagemath test suite both on ppc64el and ppc64 (little and big endian 64bit PowerPC) that seem to be related to ECL and look like this:
Condition of type: FLOATING-POINT-INVALID-OPERATION
#<a FLOATING-POINT-INVALID-OPERATION 0x7fff27d001c0>
Available restarts:
1. (CONTINUE) Ignore signal
Top level in: #<process TOP-LEVEL 0x7fff2f5c0f80>.
>
Internal or unrecoverable error in:
GO found an inexistent tag
[22: Invalid argument]
;;; ECL C Backtrace
;;; /usr/lib/powerpc64-linux-gnu/libecl.so.20.4(_ecl_dump_c_backtrace-0x1a38e4) [0x7fff2f9015d4]
;;; /usr/lib/powerpc64-linux-gnu/libecl.so.20.4(ecl_internal_error-0x1b616c) [0x7fff2f8ed744]
;;; /usr/lib/powerpc64-linux-gnu/libecl.so.20.4(+0x1ad2e0) [0x7fff2f85d2e0]
;;; /usr/lib/powerpc64-linux-gnu/libecl.so.20.4(APPLY_fixed-0x158318) [0x7fff2f952c30]
;;; /usr/lib/powerpc64-linux-gnu/libecl.so.20.4(ecl_apply_from_stack_frame-0x1e1aa8) [0x7fff2f8be238]
;;; /usr/lib/powerpc64-linux-gnu/libecl.so.20.4(cl_funcall-0x1e1820) [0x7fff2f8be4f0]
;;; /usr/lib/powerpc64-linux-gnu/libecl.so.20.4(cl_cerror-0x1b4e9c) [0x7fff2f8eed5c]
;;; /usr/lib/powerpc64-linux-gnu/libecl.so.20.4(+0x276f00) [0x7fff2f926f00]
;;; linux-vdso64.so.1(__kernel_sigtramp_rt64+0) [0x7fff82ec04d8]
;;; /lib/powerpc64-linux-gnu/libm.so.6(__fe_nomask_env-0xc6a08) [0x7fff82d25670]
;;; /<<PKGBUILDDIR>>/sage/local/lib/python3.8/site-packages/sage/libs/ecl.cpython-38-powerpc64-linux-gnu.so(+0xd604) [0x7fff2fb0d604]