Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 1997 20:12:58 +0100 (MET)
From:      cracauer@wavehh.hanse.de (Martin Cracauer)
To:        gilham@csl.sri.COM
Cc:        freebsd-emulation@freebsd.org, msmith@atrad.adelaide.EDU.AU
Subject:   ACL/Linux on FreeBSD
Message-ID:  <9701231912.AA00282@wavehh.hanse.de>

next in thread | raw e-mail | index | archive | help
So my copy finally arrived. To remind all, Fred's copy of Allegro
Common Lisp coredumps when he tries to read an ascii file into the
Lisp image.

I checked and I am allowed to put the system up for ftp, but it is
quite large (9.2 MB). If someone wants it and wouldn't wait for a free
CD from Franz to arrive, please let me know.

OK, to Lisp, I get coredumps, but not at the same stage as you, Fred.

What doesn't work is compiling a file (dumps core) and I can't save an
image. But I can compile inside the world (compile 'functionname) and
I can load both ascii lisp files and compiled .fasl files, which
didn't work for Fred.

Actually, that's reason enough for opening a bottle of champane, since
I can at least run things I build elsewhere. HIP HIP HIP!

I assume the differences between our behaviours are due to FreeBSD
versions. I run on FreeBSD-2.2-ALPHA with linux_lib-2.3. What system
are your on, Fred? My 3.0-current paniced when runnig it, I rebuild
it. 

OK, now to the coredump when compiling:

(For people who don't know Lisp: Lisp can compile individual functions
within the running system, but you can also compile whole files. The
result of the compilation are not OS object files, but some special
binary format).

I tell the systemn interactivly to compile
(compile-file "/home/cracauer/test.lisp")

And it does like this:
cracauer/acl4.3(gilgamesch)19:47:16$ ktrace bin/cl
Allegro CL 4.3 [Linux/X86; R1] (1/22/97 21:39)
Copyright (C) 1985-1996, Franz Inc., Berkeley, CA, USA.  All Rights
Reserved.
;; Optimization settings: safety 1, space 1, speed 1, debug 2.
;; For a complete description of all compiler switches given the
;; current optimization settings evaluate (EXPLAIN-COMPILER-SETTINGS).
USER(1): (compile-file "/home/cracauer/test.lisp")
;;; Compiling file /home/cracauer/test.lisp
Bus error (core dumped)

This is the ktrace, beginning with the output of the prompt "USER(1):"
to fd 1 before my command "(compile-file "/home/cracauer/test.lisp")"
is being read from fd 0.

I wonder what that "listen" calls are about.

Please note that the last write shown here is not to a file, but just
the echo to stdout that my command is going to be proceeded. Similar
echos on other commands cause no problems. 

Thus, I think the problem is unrelated to the calls shown here, but
where do I proceed?

   429 cl       CALL  write(0x1,0x812bf64,0x9)
   429 cl       GIO   fd 1 wrote 9 bytes
       "USER(1): "
   429 cl       RET   write 9
   429 cl       CALL  setpgid(0xefbfa334)
   429 cl       RET   setpgid 1
   429 cl       CALL  read(0,0x812bd5d,0x200)
   429 cl       GIO   fd 0 read 42 bytes
       "(compile-file "/home/cracauer/test.lisp")
       "
   429 cl       RET   read 42/0x2a
   429 cl       CALL  listen(0x80a0bd4,0x809ef90)
   429 cl       NAMI  "/compat/linux/home/cracauer/test.lisp"
   429 cl       NAMI  "/home/cracauer/test.lisp"
   429 cl       RET   listen 0
   429 cl       CALL  open(0x80a0bd4,0,0x60)
   429 cl       NAMI  "/compat/linux/home/cracauer/test.lisp"
   429 cl       NAMI  "/home/cracauer/test.lisp"
   429 cl       RET   open 5
   429 cl       CALL  listen(0x80a0bd4,0x809ef90)
   429 cl       NAMI  "/compat/linux/home/cracauer/test.lisp"
   429 cl       NAMI  "/home/cracauer/test.lisp"
   429 cl       RET   listen 0
   429 cl       CALL  open(0x80a0bd4,0,0x60)
   429 cl       NAMI  "/compat/linux/home/cracauer/test.lisp"
   429 cl       NAMI  "/home/cracauer/test.lisp"
   429 cl       RET   open 6
   429 cl       CALL  close(0x6)
   429 cl       RET   close 0
   429 cl       CALL  write(0x1,0x812bf64,0x2c)
   429 cl       GIO   fd 1 wrote 44 bytes
       ";;; Compiling file /home/cracauer/test.lisp
       "
   429 cl       RET   write 44/0x2c
   429 cl       PSIG  SIGBUS SIG_DFL
   429 cl       NAMI  "cl.core"





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9701231912.AA00282>