compiling sbcl-2.2.4-73-g873c7b1c4 on termux

Bug #1972063 reported by alexis rivera
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
New
Undecided
Unassigned

Bug Description

Hi,

I failed to build version sbcl-2.2.4-73-g873c7b1c4 on termux using both
the development version of ECL and version and a previous SBCL version that I compiled
on termux (SBCL 2.2.3.54.master.19-68d309e86 using the patches in https://bugs.launchpad.net/sbcl/+bug/1956852)

Building with ECL fails on the following unit tests:
sb-bsd-sockets sb-simple-streams
sb-posix

However, building with a previous version of SBCL fails with a compilation error:

debugger invoked on a TYPE-ERROR @1006A6BA94 in thread #<THREAD "main thread" RUNNING {10055703A3}>: The value 0 is not of type SB-INT:SSET-ELEMENT when binding SB-C::ELEMENT

The only modification done to the source code was to add an ifdef LISP_FEATURE_ANDROID in close_fdsrange function (run-program.c) so it uses sysconf instead of getdtablesize.

The code was compiled with ECL as follows:

sh make.sh --xc-host='/data/data/com.termux/files/home/ecl-dev3/bin/ecl --c-stack 16777217 -norc' --prefix=/data/data/com.termux/files/home/sbcl-ecl --with-android --without-gcc-tls >& error3.log

The code was compiled with SBCL using

sh make.sh --prefix=/data/data/com.termux/files/home/sbcl-build --with-android --without-gcc-tls >& dump.txt

Attached are the full log of the compilation process.

Bug report 1956852, had fixes for the sb-posix failures. I haven't check yet to see if they are the same errors. The sb-simple-streams and sb-bsd-sockets errors are new since the last time I build the code.

However, the SBCL compilation error is new.

I will appreciate your guidance in solving these issues,
Thanks!

Tags: ecl termux
Revision history for this message
alexis rivera (riveraah) wrote :
Revision history for this message
alexis rivera (riveraah) wrote :

this is the error log when buildi g with sbcl

alexis rivera (riveraah)
description: updated
Revision history for this message
alexis rivera (riveraah) wrote (last edit ):

I'm getting the same errors from comment #1 above when building sbcl 2.2.8.14-55655ceca-WIP with ECL. The error seems to be that the module constants of sb-posix and sb-bsd-sockets couldn't be compiled. How can I figure out what specifically failed on those modules?

Revision history for this message
Douglas Katzman (dougk) wrote :

https://bugs.launchpad.net/sbcl/+bug/1956852 has a lot more discussion in it about attempting to build SBCL with ECL on Termux so I'm marking this one as a dup

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.