AW: [clisp:feature-requests] #57 Solaris 11/sparc 64bit

<[email protected]> Tue, 1 Sep 2020 09:16:08 +0000
Newsgroups gmane.lisp.clisp.devel
Message-ID <FRAPR01MB06924CD6B7892DA8F633B3EF822E0@FRAPR01MB0692.DEUPRD01.PROD.OUTLOOK.DE>
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 =3D 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), the=
n 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 unf=
oreseen OS memory map (esp. among HEAPCODES_xyz rather than TYPECODES), alb=
eit at the cost of being very slow. Yet that might be enough for you, depen=
ding 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" ins=
tead of "sparc64"?

Are you actually using online clisp sources or an ancient released version?

Regards,
	J=F6rg H=F6hle

-----Original Message-----
Von: Joern Clausen <[email protected]> =

Gesendet: Dienstag, 1. September 2020 08:59
An: Ticket #57: Solaris 11/sparc 64bit <[email protected]=
ceforge.net>
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/g=
io-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=3D2 -I/opt/pkg-hrz/20200817/include -I/opt/pkg=
-hrz/20200817/include/ncurses -I/opt/pkg-hrz/20200817/include/glib-2.0 -I/o=
pt/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_UNI=
CODE -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 i=
s generated and compilation succeeds, but lisp.run is not useable:

~~~
$ lisp.run
Cannot map memory to address 0x17000000000000 .
[spvw_mmap.d:347] errno =3D ENOMEM: Not enough memory.
Trying to make room through a GC...
Cannot map memory to address 0x17000000000000 .
[spvw_mmap.d:347] errno =3D ENOMEM: Not enough memory.
Trying to make room through a GC...
Cannot map memory to address 0xb000000000000 .
[spvw_mmap.d:347] errno =3D ENOMEM: Not enough memory.
Trying to make room through a GC...
...
~~~



_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel