[Ecls-list] cl-bench problem/oddity with latest ecls-cvs
Michael Abshoff
Michael.Abshoff at fsmath.mathematik.uni-dortmund.de
Sat Sep 8 19:06:57 UTC 2007
Juan Jose Garcia-Ripoll wrote:
> I had no problem running the cl-bench script.
<SNIP>
Good to know. But you are working on OSX as far as I can tell:
>
> Look at what my system produces (configured with --prefix=$HOME and
> installed using "make install")
> ...
> ;;; gcc -I. -g -O2 -fPIC -fno-common -fstrict-aliasing -Ddarwin -O
> "-I/Users/jjgarcia/include/" -w -c
> "/Users/jjgarcia/tmp/cl-bench/support.c" -o
> "/Users/jjgarcia/tmp/cl-bench/support.o"
> ;;; Note: Invoking external command:
> ;;; gcc -o "/Users/jjgarcia/tmp/cl-bench/support.fas"
> -L"/Users/jjgarcia/lib/" "/Users/jjgarcia/tmp/cl-bench/support.o"
> -bundle -lecl -lm
> ...
>
> If ECL is told the right prefix and let install itself, then it will
> always include compiler flags for the directories where the headers
> reside and where the DLL is to be found. How did you build/install
> your own copy?
>
> BTW, this is with a copy freshly extracted from CVS. If yours was an
> update of a very old copy you might have to delete and rebuild,
> because ECL now copies the unix directory structure, instead of
> putting headers and libraries in nonstandard locations under the
> prefix path.
>
Hello Juan,
I did do a fresh checkout today and according to "cvs up" everything is
current. Then:
./configure --prefix=/home/mabshoff/ecl-20070908 && make && make install
Everything seems to go well. Then:
[mabshoff at m940 ecl-20070908]$ which ecl
/usr/bin/which: no ecl in
(/tmp/Work2/sage-2.8.4:/tmp/Work2/sage-2.8.4/local/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/mabshoff/bin)
[mabshoff at m940 ecl-20070908]$ export
PATH=/home/mabshoff/ecl-20070908/bin/:$PATH
[mabshoff at m940 ecl-20070908]$ which ecl
~/ecl-20070908/bin/ecl
[mabshoff at m940 ecl-20070908]$ export
LD_LIBRARY_PATH=/home/mabshoff/ecl-20070908/lib/
[mabshoff at m940 ecl-20070908]$ ldd bin/ecl
libecl.so => /home/mabshoff/ecl-20070908/lib/libecl.so
(0x00002aaaaaaad000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000003105c00000)
libm.so.6 => /lib64/libm.so.6 (0x0000003106000000)
libc.so.6 => /lib64/libc.so.6 (0x0000003105800000)
libgmp.so.3 => /usr/lib64/libgmp.so.3 (0x0000003108400000)
/lib64/ld-linux-x86-64.so.2 (0x0000003105400000)
[mabshoff at m940 ecl-20070908]$ ecl
ECL (Embeddable Common-Lisp) 0.9i
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help. Top level.
>
[mabshoff at m940 ecl-20070908]$
untar cl-bench.tar.gz, cd into it. Then:
[mabshoff at m940 cl-bench]$ bash run-ecl.sh
ECL (Embeddable Common-Lisp) 0.9i
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help. Top level.
> ;;; Loading "/home/mabshoff/ecl-20070908/cl-bench/sysdep/setup-ecl.lisp"
;;; Loading #P"/home/mabshoff/ecl-20070908/cl-bench/defpackage.lisp"
;;; Loading #P"/home/mabshoff/ecl-20070908/lib/ecl/cmp.fas"
;;; Loading #P"/home/mabshoff/ecl-20070908/lib/ecl/sysfun.lsp"
;;; End of Pass 1.
;;; Note: Replacing variable G49 by its value
;;; Calling the C compiler...
;;; Note: Invoking external command:
;;; gcc -D_GNU_SOURCE -g -O2 -fPIC -fstrict-aliasing -Dlinux -O
"-I/home/mabshoff/ecl-20070908/include/" -w -c
"/home/mabshoff/ecl-20070908/cl-bench/ECL001h9JJ2J.c" -o
"/home/mabshoff/ecl-20070908/cl-bench/ECL001h9JJ2J.o"
;;; Note: Invoking external command:
;;; gcc -o "/home/mabshoff/ecl-20070908/cl-bench/ECL001h9JJ2J.fas"
-L"/home/mabshoff/ecl-20070908/lib/"
"/home/mabshoff/ecl-20070908/cl-bench/ECL001h9JJ2J.o"
-Wl,--rpath,/usr/lib/ecl/ -shared -lecl -ldl -lm -lgmp
[the Wl,--rpath,/usr/lib/ecl/ looks finshy and seems to be involved in the
compile failure]
;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3
"/home/mabshoff/ecl-20070908/cl-bench/sysdep/setup-ecl.lisp"
> ;;; Loading
"/home/mabshoff/ecl-20070908/cl-bench/do-compilation-script.lisp"
;;; Loading "/home/mabshoff/ecl-20070908/cl-bench/defpackage.lisp"
Filesystem error with pathname #P"files/arrays.olisp".
Either
1) the file does not exist, or
2) we are not allow to access the file, or
3) the pathname points to a broken symbolic link.
Broken at EVAL.No restarts available.
Broken at COMPILE-FILE.
>>
ECL (Embeddable Common-Lisp) 0.9i
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help. Top level.
> ;;; Loading "/home/mabshoff/ecl-20070908/cl-bench/sysdep/setup-ecl.lisp"
;;; Loading #P"/home/mabshoff/ecl-20070908/cl-bench/defpackage.lisp"
;;; Loading #P"/home/mabshoff/ecl-20070908/lib/ecl/cmp.fas"
;;; Loading #P"/home/mabshoff/ecl-20070908/lib/ecl/sysfun.lsp"
;;; End of Pass 1.
;;; Note: Replacing variable G49 by its value
;;; Calling the C compiler...
;;; Note: Invoking external command:
;;; gcc -D_GNU_SOURCE -g -O2 -fPIC -fstrict-aliasing -Dlinux -O
"-I/home/mabshoff/ecl-20070908/include/" -w -c
"/home/mabshoff/ecl-20070908/cl-bench/ECL001j5PFwV.c" -o
"/home/mabshoff/ecl-20070908/cl-bench/ECL001j5PFwV.o"
;;; Note: Invoking external command:
;;; gcc -o "/home/mabshoff/ecl-20070908/cl-bench/ECL001j5PFwV.fas"
-L"/home/mabshoff/ecl-20070908/lib/"
"/home/mabshoff/ecl-20070908/cl-bench/ECL001j5PFwV.o"
-Wl,--rpath,/usr/lib/ecl/ -shared -lecl -ldl -lm -lgmp
;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3
"/home/mabshoff/ecl-20070908/cl-bench/sysdep/setup-ecl.lisp"
> ;;; Loading "/home/mabshoff/ecl-20070908/cl-bench/do-execute-script.lisp"
;;; Loading "/home/mabshoff/ecl-20070908/cl-bench/defpackage.lisp"
Filesystem error with pathname #P"files/arrays.fas".
Either
1) the file does not exist, or
2) we are not allow to access the file, or
3) the pathname points to a broken symbolic link.
Broken at EVAL.No restarts available.
Broken at LOAD.
>>
----------------------------------------------------
So I figured I will try to run the tests:
After checking out ecl-test, make it hangs at the following point:
;;; Warning: Redefining class SCAFFOLD
;;; Warning: Redefining test |SET-SYNTAX-FROM-CHAR-TRAIT-X-NEWLINE|
"/tmp/Work2/ecls/ecl-test/ansi/gclload2.lsp"
> #<"CL-TEST" package>
CL-TEST> NIL
CL-TEST> [hang here, press return gets it going again]
Doing 21696 pending tests of 21696 tests total.
<SNIP>
38 out of 21696 total tests failed: COMMON-LISP-PACKAGE-NICKNAMES,
COMMON-LISP-USER-PACKAGE-NICKNAMES,
PROCLAIM.ERROR.7, CTYPECASE.15, CTYPECASE.16, EQUALP.5, EQUALP.6,
MACROLET.47, DEFGENERIC.ERROR.20, DEFGENERIC.ERROR.21,
CALL-NEXT-METHOD.ERROR.1, CALL-NEXT-METHOD.ERROR.2,
DEFMETHOD.ERROR.14, DEFMETHOD.ERROR.15, MAKE-CONDITION.4,
UPGRADED-ARRAY-ELEMENT-TYPE.8, BIGNUM.FLOAT.COMPARE.7,
BIGNUM.FLOAT.COMPARE.8, TAN.12, TAN.13, TAN.14, TAN.15, EXP.ERROR.10,
EXP.ERROR.11, SQRT.17, MAP.ERROR.11,
ALL-STANDARD-GENERIC-FUNCTIONS-ARE-INSTANCES-OF-THAT-CLASS,
FORMAT.LOGICAL-BLOCK.23, SYNTAX.DOT-ERROR.1, COMPILE-FILE.2,
COMPILE-FILE.2A, COMPILE-FILE.6A, COMPILE-FILE.18, MISC.42, MISC.209,
MISC.215, MISC.521, MISC.523.
real time : 737.263 secs
run time : 562.359 secs
gc count : 679 times
consed : 14314944528 bytes
So I am failry sure that the ecl binary works. Any pointers?
> Cheers,
>
> Juanjo
>
Cheers,
Michael
> --
> Facultad de Fisicas, Universidad Complutense,
> Ciudad Universitaria s/n Madrid 28040 (Spain)
> http://juanjose.garciaripoll.googlepages.com
>
More information about the ecl-devel
mailing list