compiling SBCL (2.2.0-48-g6d4619e8e) using ECL (21.2.1) on Termux
I have been trying to compile SBCL version 2.2.0-48-g6d4619e8e on Termux using ECL version 21.2.1 (compiled from source on termux). It seems the compilation fails on src/compiler/generic/vm-fndb.lisp with the following error:
Condition of type: SIMPLE-ERROR bad modulus specified for MOD type specifier: 0 Available restarts:
- (RECOMPILE) Recompile
- (ABORT-BUILD) Abort building SBCL.
- (RESTART-TOPLEVEL) Go back to Top-Level REPL.
Broken at #:LAMBDA26. In: #<process TOP-LEVEL 0x7f7ecf8f80>.
//entering make-target-1.sh //building runtime system and symbol table file make: Entering directory '/data/data/com.termux/files/home/sbcl/src/runtime' GNUmakefile:41: genesis/Makefile.features: No such file or directory make: *** No rule to make target 'genesis/Makefile.features'. Stop. make: Leaving directory '/data/data/com.termux/files/home/sbcl/src/runtime'
The output of uname -a is Linux localhost 4.9.186-21635681 #1 (closed) SMP PREEMPT Wed Jul 28 15:37:01 KST 2021 aarch64 Android
I will appreciate any guidance into debugging this error. I'm attaching a file dump.txt that contains the whole print of the compiling session. Unless it a known issue that ECL cannot compile SBCL.
Thanks, Alexis
PS. I entered the same bug report for the SBCL team https://bugs.launchpad.net/sbcl/+bug/1956852
Provide details regarding ECL version (or preferably commit), operating system and if revelant the build options and versions of the build tools.
VERSION: "21.2.1" VCS-ID: "UNKNOWN" OS "Linux" OS-VERSION "4.9.186-21635681" MACHINE-TYPE "aarch64" FEATURES (:ASDF-PACKAGE-SYSTEM :ASDF3.1 :ASDF3 :ASDF2 :ASDF :OS-UNIX :NONE-BASE-CHARS-EXIST-P :ASDF-UNIFOCDE :WALKER :CDR-1 :CDR-5 :ANDROID :FORMATTER :CDR-7 :ECL-WEAK-HASH :LITTLE-ENDIAN :ECL-READ-WRITE-LOCK :LONG-LONG :UINT64-T :UINT32-T :UINT16-T :LONG-FLOAT :UNICODE :DFFI :CLOS-STREAMS :CMU-FORMAT :UNIX :ECL-PDE :DLOPEN :CLOS : THREADS :HOECH-GC : ANSI-CL :COMMON-LISP :FLOATING-POINT-EXCEPTIONS :IEEE-FLOATING-POINT :PACKAGE-LOCAL-NICKNAMES :CDR-14 :PREFIXED-API :FFI :AARCH64 :COMMON :ECL)
dump.txt