From: Phil Windley/20000000
Subject: AKCL on ds5000 (segmentation violation)
Date: 
Message-ID: <WINDLEY.91Apr8085828@cheetah.cheetah.cs.uidaho.edu>
I apologize if this is a FAQ, but I probably didn't pay attention to
questions about ds5000's before I got one... (human nature I suppose).

I'm trying to install AKCL on a DECStation 5000 PX with 40Mb of memory.
I'm using AKCL version 1.530 using gcc.  (I tried with the DEC cc and
didn't get past the volatile declarations.)

The problems is that I get segmentation violations during the build.  I
managed to get a working version once by simply trying again, but then got
a similar error when I used the resulting compiler to compile a large
program I'm using (Mike Gordon's HOL theorem prover).

This is not machine specific, by the way, other people I know have had
similar trouble, but have not been able to fix it.

I'm hoping that someone with more experience building AKCL might recognize
the problem (or perhaps someone has fixed it on the ds5000).  Thanks for
any help you might be able to provide.

The following is the relavant portion of the log from the make:

cat init_kcl.lsp |  sed -e "s"DATE"Version(`cat ../majvers`.`cat ../minvers`) `date`g"  -e 'ssaved_kclsaved_kclg'  -e 'slinks t)links t)(setq compiler::*cc* "gcc -fwritable-strings -O -DVOL=volatile -G 8 -I/net/snake/disk1/panther/akcl/akcl/o  -I/usr/include/bsd")(setq compiler::*cc* "gcc -DVOL=volatile -G 0 ")(si::build-symbol-table)(load "../lsp/setdoc.lsp")g'  -e "s(defun lisp-imp(setq si::*akcl-version* '`cat ../minvers`)(defun lisp-imp'g" |  ./raw_kcl ../unixport/ 
KCl (Kyoto Common Lisp)  June 1987  16384 pages
loading ../lsp/export.lsp
Initializing ../lsp/defmacro.o
Initializing ../lsp/evalmacros.o
Initializing ../lsp/top.o
Initializing ../lsp/module.o
loading ../lsp/autoload.lsp
Changes in version 1-455 definitely require recompilation of user files.

>#<"COMPILER" package>

COMPILER>#<"SYSTEM" package>

SYSTEM>#<"USER" package>

>#<"LISP" package>

LISP>#<"SLOOP" package>

SLOOP>6

SLOOP>#<"USER" package>

>Initializing ../lsp/predlib.o
Initializing ../lsp/setf.o
Initializing ../lsp/arraylib.o
Initializing ../lsp/assert.o
Initializing ../lsp/defstruct.o
Initializing ../lsp/describe.o
Initializing ../lsp/iolib.o
Initializing ../lsp/listlib.o
Initializing ../lsp/mislib.o
Initializing ../lsp/numlib.o
Initializing ../lsp/packlib.o
Initializing ../lsp/seq.o
Initializing ../lsp/seqlib.o
Initializing ../lsp/trace.o
Initializing ../lsp/sloop.o
Initializing ../cmpnew/cmpinline.o
Initializing ../cmpnew/cmputil.o
Initializing ../lsp/debug.o
Initializing ../cmpnew/cmptype.o
Initializing ../cmpnew/cmpbind.o
Initializing ../cmpnew/cmpblock.o
Initializing ../cmpnew/cmpcall.o
Initializing ../cmpnew/cmpcatch.o
Initializing ../cmpnew/cmpenv.o
Initializing ../cmpnew/cmpeval.o
Initializing ../cmpnew/cmpflet.o
Initializing ../cmpnew/cmpfun.o
Initializing ../cmpnew/cmpif.o
Initializing ../cmpnew/cmplabel.o
Initializing ../cmpnew/cmplam.o
Initializing ../cmpnew/cmplet.o
Initializing ../cmpnew/cmploc.o
Initializing ../cmpnew/cmpmap.o
Initializing ../cmpnew/cmpmulti.o
Initializing ../cmpnew/cmpspecial.o
Initializing ../cmpnew/cmptag.o
Initializing ../cmpnew/cmptop.o
Initializing ../cmpnew/cmpvar.o
Initializing ../cmpnew/cmpvs.o
Initializing ../cmpnew/cmpwt.o
Segmentation violation: c stack ok:signalling error
Unrecoverable error: segmentation violation.
sh: 17714 Illegal instruction - core dumped*** Error code 132 (ignored)
--
Phil Windley                          |  ·······@cs.uidaho.edu
Assistant Professor		      |  ·······@cheetah.cs.uidaho.edu
Department of Computer Science        |
University of Idaho                   |  Phone: 208.885.6501  
Moscow, ID 83843                      |  Fax:   208.885.6645