The binary builds just fine under sparc; however, as soon as it executes,
there is a segmentation fault. The exact procedure is as follows:
... lots of messages ...
checking for 64-bit SPARC: no
... lots more messages, no errors
> cd src
> ./makemake --with-readline --with-gettext --with-dynamic-ffi > Makefile
> make config.lsp
cp -p cfgunix.lsp config.lsp
echo '(setq *clhs-root-default* "http://www.harlequin.com/education/books/HyperSpec")' >> config.lsp
> emacs config.lsp
Then I change the line
(defparameter *editor* "vi")
(defparameter *editor* "emacs")
...lots of messages, among which are:
lispbibl.d:6864: warning: register used for two global register variables
lispbibl.d:6736: warning: volatile register variables don't work as you might wish
lispbibl.d:758: warning: call-clobbered register used for global register variable
...more, and finally...
./lisp.run -m 750KW -B . -N locale -Efile ISO-8859-1 -norc -x "(load \&quot;init.lsp\&quot;) (sys::%saveinitmem) (exit)"
make: *** [interpreted.mem] Segmentation fault (core dumped).
This GDB was configured as "sparc-redhat-linux"...
.gdbinit:3: Error in sourced command file:
Function "sigsegv_handler_failed" not defined.
(gdb) set args -m 750KW -B . -N locale -Efile ISO-8859-1 -norc -x "(load \&quot;init.lsp\&quot;) (sys::%saveinitmem) (exit)"
Starting program: /home/sc843/lisp/clisp-2000-03-06/src/lisp.run -m 750KW -B . -N locale -Efile ISO-8859-1 -norc -x "(load \&quot;init.lsp\&quot;) (sys::%saveinitmem) (exit)"
Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
This concludes the bug report. I have already sent a request out on the
mailing list: my e-mail address is firstname.lastname@example.org. I would be glad to
test any patches you may make on my Sun Ultra 5.
Log in to post a comment.