compiling MatLisp on FC5?

Paul Bunyk <[email protected]> Tue, 06 Jun 2006 16:51:49 -0700
Newsgroups gmane.lisp.matlisp.user
Organization D-Wave: The Quantum Computing Company
Message-ID <[email protected]>
Hello All!

I'm wondering if anyone managed to successfully compile (and run!)
MatLisp on FC5 (that's Fedora Core 5 for non-Linux folks :-) )? 

I'm using stock CMU Common Lisp 19c Fedora Extras release 4.fc5.

MatLisp configured/compiled just fine (all I had to change was adding
(load "packages") in the beginning of start.lisp -- otherwise it
complained about unknown "F2CL-LIB" package), but when I try any
non-trivial matrix operation (such as m+, which, I think is the simplest
one making an actual Fortran call) it gets into an infinite loop
(breakable with ^C though). When I run it under gdb it seems to be
getting SIGSEGVs when (unsuccessfully) trying to load a symbol in
dl_-something. 

It worked fine for me on FC4. One of the obvious differences is that FC4
used gcc 4.0, while FC5 uses 4.1. I've tried downgrading C compiler to
gcc32, upgrading Fortran compiler to gfortran (failed in even more
spectacular way!), nothing helps.

CMUCL docs mention that "There are problems running CMUCL on certain
kernels that are built with address-space randomization techniques, such
as certain Fedora kernels. If you run into problems, please use a
vanilla kernel." -- I have 2.6.16-1.2111_FC5 and I *assume* that Fedora
folks would make their CMUCL rpm work with their stock kernel -- is it
too much to assume? :-)

Thanks in advance!

Paul Bunyk


-- 
Paul Bunyk <[email protected]>
D-Wave: The Quantum Computing Company