From: <Joe...@t-...> - 2020-09-01 09:16:37
|
Hi, That's not so much a feature request as a bug report (actually 2 of them). >Cannot map memory to address 0x17000000000000 . >[spvw_mmap.d:347] errno = ENOMEM: Not enough memory. CLISP did not expect this memory map. Try and build CLISP using one of the many other memory model configurations (or use the make target that builds a dozen different configurations), then please report here which one of these works for you. https://clisp.sourceforge.io/impnotes/memory-models.html Among these, there are memory models that should work robustly with any unforeseen OS memory map (esp. among HEAPCODES_xyz rather than TYPECODES), albeit at the cost of being very slow. Yet that might be enough for you, depending on your needs. If you can dig into technical levels, have a look at the top of lispbibl.d about these choices and further down about build-porting64-gcc-portability, address space layout and *_ADDRESS_RANGE. Perhaps something very simple is broken (or not up to date), given that it does not recognize "sparcv9" instead of "sparc64"? Are you actually using online clisp sources or an ancient released version? Regards, Jörg Höhle -----Original Message----- Von: Joern Clausen <joe...@us...> Gesendet: Dienstag, 1. September 2020 08:59 An: Ticket #57: Solaris 11/sparc 64bit <57...@fe...> Subject: [clisp:feature-requests] #57 Solaris 11/sparc 64bit ** [feature-requests:#57] Solaris 11/sparc 64bit** **Status:** open **Group:** **Created:** Tue Sep 01, 2020 06:59 AM UTC by Joern Clausen **Last Updated:** Tue Sep 01, 2020 06:59 AM UTC **Owner:** nobody Building CLISP on Solaris 11.4 on a Sparc (sparcv9) 64-bit processor using GCC 9.2.0 fails with: ~~~ gcc -I/opt/pkg-hrz/20200817/include -I/opt/pkg-hrz/20200817/include/ncurses -I/opt/pkg-hrz/20200817/include/glib-2.0 -I/opt/pkg-hrz/20200817/include/gio-unix-2.0 -I/opt/pkg-hrz/20200817/lib/glib-2.0/include -I/usr/include -I/opt/pkgsrc/pkg-hrz/pkgsrc/lang/clisp/work.pkgsrc-sol11sparc/clisp-2.49/src/gllib -O2 -D_FORTIFY_SOURCE=2 -I/opt/pkg-hrz/20200817/include -I/opt/pkg-hrz/20200817/include/ncurses -I/opt/pkg-hrz/20200817/include/glib-2.0 -I/opt/pkg-hrz/20200817/include/gio-unix-2.0 -I/opt/pkg-hrz/20200817/lib/glib-2.0/include -I/usr/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -O2 -DUNIX_BINARY_DISTRIB -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -I. -c lisparit.c In file included from lisparit.d:28: arilev1.d:251:18: fatal error: arisparc64.c: No such file or directory 251 | #include "arisparc64.c" | ^~~~~~~~~~~~~~ compilation terminated. ~~~ Fixing makemake to check for "sparcv9" instead of "sparc64", arisparc64.c is generated and compilation succeeds, but lisp.run is not useable: ~~~ $ lisp.run Cannot map memory to address 0x17000000000000 . [spvw_mmap.d:347] errno = ENOMEM: Not enough memory. Trying to make room through a GC... Cannot map memory to address 0x17000000000000 . [spvw_mmap.d:347] errno = ENOMEM: Not enough memory. Trying to make room through a GC... Cannot map memory to address 0xb000000000000 . [spvw_mmap.d:347] errno = ENOMEM: Not enough memory. Trying to make room through a GC... ... ~~~ |