Re: Global registers
On Fri, 24 Jan 2003, Will Newton wrote:
> On Thursday 23 Jan 2003 9:13 pm, Mark T. Valites wrote:
>
> > Has anything come of this subject? I've been trying for the last couple
> > days to get clisp on a sparcstation 5 here with testing with absolutely no
> > luck at all. Any thoughts are appreaciated!
>
> CLISP builds fine on SPARC if you disable the global register allocation in
> lispbibl.d. For reference see the version in unstable which is built for
> SPARC.
After suffering on the sparcstation, I moved over to my ultra5 testing
machine...
I see the ifdef section in lispbibl.d for ifdef (SPARC) on lines 693-695.
I removed these lines & got the dpkg-buildpackage to go a lot farther then
before, but it ends up segfaulting with this error:
ln -s /home/valites/CRAP/clisp-2.28/src/gray.lisp gray.lisp
ln -s /home/valites/CRAP/clisp-2.28/src/foreign1.lisp foreign1.lisp
ln -s /home/valites/CRAP/clisp-2.28/src/german.lisp german.lisp
ln -s /home/valites/CRAP/clisp-2.28/src/french.lisp french.lisp
ln -s /home/valites/CRAP/clisp-2.28/src/spanish.lisp spanish.lisp
ln -s /home/valites/CRAP/clisp-2.28/src/dutch.lisp dutch.lisp
ln -s /home/valites/CRAP/clisp-2.28/src/deprecated.lisp deprecated.lisp
cp -p /home/valites/CRAP/clisp-2.28/src/cfgunix.lisp config.lisp
echo '(setq *clhs-root-default* "http://www.lisp.org/HyperSpec/")' >>
config.lisp
./lisp.run -B . -N locale -Efile UTF-8 -norc -m 750KW -x "(load
\"init.lisp\") (sys::%saveinitmem) (exit)"
i i i i i i i ooooo o ooooooo ooooo ooooo
I I I I I I I 8 8 8 8 8 o 8 8
I \ `+' / I 8 8 8 8 8 8
\ `-+-' / 8 8 8 ooooo 8oooo
`-__|__-' 8 8 8 8 8
| 8 o 8 8 o 8 8
------+------ ooooo 8oooooo ooo8ooo ooooo 8
Copyright (c) Bruno Haible, Michael Stoll 1992, 1993
Copyright (c) Bruno Haible, Marcus Daniels 1994-1997
Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998
Copyright (c) Bruno Haible, Sam Steingold 1999-2002
;; Loading file defseq.lisp ...
;; Loading of file defseq.lisp is finished.
;; Loading file backquote.lisp ...
;; Loading of file backquote.lisp is finished.
;; Loading file defmacro.lisp ...make[1]: *** [interpreted.mem]
Segmentation fault
make[1]: Leaving directory `/home/valites/CRAP/clisp-2.28/debian/build'
make: *** [build-stamp] Error 2
[valites@bofh:~/CRAP/clisp-2.28][575] $
In addition, I get a bunch of these warnings throughout the build:
lispbibl.d:784: warning: call-clobbered register used for global register
variable
In file included from foreign.d:5:
lispbibl.d:6969: warning: volatile register variables don't work as you
might wish
In file included from foreign.d:5:
lispbibl.d:8972: warning: register used for two global register variables
lispbibl.d:8990: warning: register used for two global register variables
lispbibl.d:9161: warning: register used for two global register variables
Any ideas?
PS. Will - sorry for hitting two of your e-mail addrs - they were both in
the reply-all & I wasn't sure which one to use...
--
>--))> >--))>
Mark T. Valites
Unix Systems Analyst
1 College Circle - 124b1 South Hall
SUNY Geneseo
Geneseo, NY 14454
585-245-5577
585-259-3471 (Cell)
585-245-5579 (Fax)
Reply to: