[Ecls-list] version of ECL suitable to compile Maxima?
Robert Dodier
robert.dodier at gmail.com
Sun Jun 29 01:07:27 UTC 2008
On 6/28/08, Juan Jose Garcia-Ripoll
<juanjose.garciaripoll at googlemail.com> wrote:
> Use the CVS head. I committed all those changes so that you could have
> something better to try with maxima. I am currently running a new
> build. The problem is still reproducible: build maxima using (asdf:oos
> 'asdf:load-op 'maxima). Then touch mhayat and hayat. Rebuild. The
> outcome does pass the test suite.
OK, I have rebuilt ECL from CVS head (as of about 18:00 UTC today).
I built ECL with the --enable-smallcons flag and no others,
also tried it with no flags at all. Built it w/ GCC 3.3.2 on one system
and 3.4.6 on another.
I have applied and committed the most recent patch for Maxima which
you sent (patch-0.diff, dated 2008-06-23) to patches-for-ecl-branch.
However when I try to compile Maxima via (asdf:oos 'asdf:load-op 'maxima)
it gets part way through and then fails on src/mforma.lisp.
Good news is that when interpreted, the Maxima test suite runs
to completion without unexpected errors.
Any advice? Maybe there are differences in your sandbox
with respect to patches-for-ecl-branch ? Maybe I missed a patch?
Thanks for your help,
Robert Dodier
PS. Here';s the stuff which appears to be related to mforma.lisp:
;;; Compiling /home/robertdodier/tmp/maxima-ecl-branch-build/maxima/src/mforma.lisp.
;;; Compiling (DEFMACRO +DEF-MFORMAT-VAR ...).
;;; Compiling (DEFMACRO +DEF-MFORMAT-OP ...).
;;; Compiling (DEFMACRO POP-MFORMAT-ARG ...).
;;; Compiling (DEFMACRO LEFTOVER-MFORMAT-ARGS? ...).
;;; Compiling (DEFMACRO BIND-MFORMAT-STATE-VARS ...).
;;; Compiling (DEFMACRO POP-MFORMAT-STRING ...).
;;; Compiling (DEFMACRO NULL-MFORMAT-STRING ...).
;;; Compiling (DEFMACRO TOP-MFORMAT-STRING ...).
;;; Compiling (DEFMACRO CDR-MFORMAT-STRING ...).
;;; Compiling (DEFMACRO MFORMAT-DISPATCH-ON-CHAR ...).
;;; Note: Replacing variable C by its value #<form VAR 9BEFD38>
;;; Compiling (DEFMACRO WHITE-SPACE-P ...).
;;; Compiling (DEFMACRO +MFORMAT-LOOP ...).
;;; Note: Replacing variable END-CODE by its value #<form CALL-GLOBAL 9E4EE40>
;;; Compiling (DEFVAR *WANT-OPEN-COMPILED-MFORMAT* ...).
;;; Compiling (DEFVAR *CANT-OPEN-COMPILE-MFORMAT* ...).
;;; Compiling (DEFMACRO DEF-MFORMAT-OP-C ...).
;;; Note: Replacing variable BODY by its value #<form CALL-GLOBAL 9F46960>
;;; Compiling (DEFMACRO DEF-MFORMAT-VAR-C ...).
;;; Compiling (DEFMACRO MFORMAT-LOOP-C ...).
;;; Note: Replacing variable ENDCODE by its value #<form CALL-GLOBAL 9F47C30>
;;; Compiling (DEFMACRO EMITC ...).
;;; Compiling (DEFMACRO PUSH-TEXT-TEMP-C ...).
;;; Compiling (+DEF-MFORMAT-OP |-C| ...).
;;; Error:
;;; The macro form (+DEF-MFORMAT-OP |-C| (#\% #\&) (COND
(*WANT-OPEN-COMPILED-MFORMAT* (PUSH-TEXT-TEMP-C) (IF (CHAR= CHAR #\&)
(EMITC `(FRESH-LINE ,STREAM)) (EMITC `(TERPRI ,STREAM)))))) was not
expanded successfully.
;;; You are recommended to compile again.
;;; Compiling (+DEF-MFORMAT-OP |-C| ...).
;;; Error:
;;; The macro form (+DEF-MFORMAT-OP |-C| #\M (COND
(*WANT-OPEN-COMPILED-MFORMAT* (PUSH-TEXT-TEMP-C) (EMITC `(,(IF
|:-FLAG| 'MGRIND 'DISPLAF) (,(IF @-FLAG 'GETOP 'PROGN)
,(POP-MFORMAT-ARG)) ,STREAM))) (T (POP-MFORMAT-ARG)))) was not
expanded successfully.
;;; You are recommended to compile again.
;;; Compiling (+DEF-MFORMAT-OP |-C| ...).
;;; Error:
;;; The macro form (+DEF-MFORMAT-OP |-C| (#\A #\S) (COND
(*WANT-OPEN-COMPILED-MFORMAT* (PUSH-TEXT-TEMP-C) (EMITC `(,(IF
(CHAR-EQUAL CHAR #\A) 'PRINC 'PRIN1) ,(POP-MFORMAT-ARG) ,STREAM))) (T
(POP-MFORMAT-ARG)))) was not expanded successfully.
;;; You are recommended to compile again.
;;; Compiling (DEFUN OPTIMIZE-PRINT-INST ...).
;;; Compiling (DEFUN MFORMAT-TRANSLATE-OPEN ...).
;;; Compiling (DEFMACRO MFORMAT-OPEN ...).
;;; Compiling (DEFMACRO MTELL-OPEN ...).
;;; Note: Replacing variable OTHER-SHIT by its value #<form CALL-GLOBAL 9F6E510>
;;; Due to errors in the compilation process, no FASL was generated.
;;; Search above for the "Error:" tag to find the error messages.
;;; Warning: COMPILE-FILE warned while performing #<ASDF:COMPILE-OP
NIL 163379168> on
#<ASDF:CL-SOURCE-FILE "mforma" "maxima" 164039080>.
;;; Warning: COMPILE-FILE failed while performing #<ASDF:COMPILE-OP
NIL 163379168> on
#<ASDF:CL-SOURCE-FILE "mforma" "maxima" 164039080>.
erred while invoking #<ASDF:COMPILE-OP NIL 163379168> on
#<ASDF:CL-SOURCE-FILE "mforma" "maxima" 164039080>
Broken at SI:BYTECODES.Available restarts:
1. (TRY-RECOMPILING) Try recompiling mforma
2. (RETRY) Retry performing #<ASDF:COMPILE-OP NIL 163379168> on
#<ASDF:CL-SOURCE-FILE "mforma" "maxima" 164039080>.
3. (ACCEPT) Continue, treating #<ASDF:COMPILE-OP NIL 163379168> on
#<ASDF:CL-SOURCE-FILE "mforma" "maxima" 164039080> as having been
successful.
Broken at SI:BYTECODES.
>>
More information about the ecl-devel
mailing list