Subject: Re:Compile problem under RH 8.0 using CLisp
From: Valerij Pipin
Date: Thu, 10 Oct 2002 13:51:02 +0000
Hello,
On Wednesday 09 October 2002 04:23, Camm Maguire wrote:
> Greetings! I'm not sure about the background to this, but to my
> understanding, all versions of gcl are compatible with all *released*
> gcc versions.
It's probably my local problems. In my system I have both gcc-2.96 and
gcc-3.2(unfortunately one of the first release of this version gcc)
The gcl itself (both 2.4.3 and cvs) is compiled well either
with gcc-2.96 or with gcc-3.2.
The cvs maxima is compiled well for gcl-2.4.3 built via gcc-2.96.
All tests passed except the known bug in rtest15.mac(4).
For gcl-2.4.3 built with gcc-3.2 I have:
Loading binary-gcl/compat.o
start address -T 8458180 Finished loading binary-gcl/compat.o
; - Compiling module "fundamental-macros"
; - Compiling source file "defopt.lisp"
Compiling defopt.lisp.
End of Pass 1.
End of Pass 2.
Unrecoverable error: Segmentation violation..
../lisp-utils/maxima-run-lisp: line 391: 8093 Aborted
${image-${GCL-gcl}} $extra_args -batch -eval "$todo"
make[1]: *** [binary-gcl/maxima] ïÃÃÃÃà 134
make[1]: Exit from `/home/soft/RPM/BUILD/maxima-5.9.0rc1/src'
make: *** [all-recursive] Error 1
For the cvs version gcl built with gcc-3.2 I have another problem:
test -d binary-gcl || mkdir binary-gcl
test -d binary-gcl/numerical || mkdir binary-gcl/numerical
test -d binary-gcl/numerical/slatec || mkdir binary-gcl/numerical/slatec
LISPTYPE=gcl ; export LISPTYPE ;\
GCL=gcl ; export GCL ;\
../lisp-utils/maxima-run-lisp \
-x '(load "../lisp-utils/defsystem.lisp")(funcall (intern
"OPERATE-ON-SYSTEM" :mk) "maxima" :compile :verbose t)' && \
../lisp-utils/maxima-run-lisp \
-x '(load "../lisp-utils/defsystem.lisp")(funcall (intern
"OPERATE-ON-SYSTEM" :mk) "maxima" :load :verbose t)' \
-d binary-gcl/maxima
gcl -batch -eval (let ((argv '())) (declare (ignorable argv)) (progn (load
"../lisp-utils/defsystem.lisp")(funcall (intern "OPERATE-ON-SYSTEM" :mk)
"maxima" :compile :verbose t)) (values))
Correctable error: A package error occurred on "MAKE":"No such package".
Signalled by IN-PACKAGE.
If continued:
Broken at IN-PACKAGE. Type :H for Help.
>>:q
>(quit)
Best regards,
Valerij
> We do have some issues with gcc cvs. I cannot verify
> the issue about printing a non-number in zero.lisp -- I take it this
> has been fixed on the maxima end. As for the "Missing
> with-compilation-unit" message, this results when using cvs gcl with
> --enable-ansi turned on. We don't have the with-compilation-unit
> function yet, so I suggested a patch to maxima's defsystem.lisp to
> escape this call in gcl's case for the time being in a previous post.
> Any thoughts on this?
>
> Take care,
>
> James Amundson <amundson@fnal.gov> writes:
> > On Sun, 2002-10-06 at 22:51, Valerij Pipin wrote:
> > > I would suggest to add the list of working gcc versions to
> > > README.lisps. This would help with gcl at least.
> > > Valerij
> >
> > A fine suggestion; I think that might help clear up some confusion.
> > Unfortunately, I don't know which versions of gcc are compatible with
> > which versions of gcl.
> >
> > Is that information recorded for gcl somewhere?
> >
> > --Jim
> >
> >
> >
> > _______________________________________________
> > Gcl-devel mailing list
> > Gcl-devel@gnu.org
> > http://mail.gnu.org/mailman/listinfo/gcl-devel