[Openmcl-devel] CCL on Arm
Ralf Mattes
rm at seid-online.de
Wed Jun 3 08:49:54 PDT 2015
On Wed, Jun 03, 2015 at 06:41:18PM +0300, Stas Boukarev wrote:
....
> >
> > Any idea what's going on?
> Mismatching ABI, armel vs armhf.
First, thanks for the quick responses.
There's something strange going on here -
my first attempt was with the tarfile downloaded
from the clozure website. Recompiling the kernel
fails misserably and removes (what the ....) the
armcl executable.
Now I fetched the latest svn code and that _does_
work
ralfd at toshi:/usr/local/src/ccl$ ./armcl
Welcome to Clozure Common Lisp Version 1.10-dev-r16089:16090M-trunk (LinuxARM32)!
?
but recompiling fails:
? (ccl:rebuild-ccl :full t)
....
;Wrote bootstrapping image: #P"/usr/local/src/ccl/arm-boot"
;Building lisp-kernel ...
#<error printing #<Recursive printing error #x45D3F26D> #x45D1639E>
> While executing: #<error printing #<Recursive printing error #x442E8FC6> #x44536D8E>, in process #<error printing #<Recursive printing error #x45D3DAF5> #x4087B8B6>(1).
And, trying to recomile the lisp kernel still fails and removes the
executable:
cc -include ../platform-linuxarm.h -c ../arm_print.c -DLINUX -DARM -D_REENTRANT -D_GNU_SOURCE -DSVN_REVISION="16403" -g -O2 -marm -march=armv6 -Wno-format -o arm_print.o
cc -g -Wl,--export-dynamic "-Wl,--hash-style=sysv" -o ../../armcl -T ./armlinux.x pad.o arm-spentry.o pmcl-kernel.o gc-common.o arm-gc.o bits.o arm-exceptions.o image.o thread_manager.o lisp-debug.o memory.o unix-calls.o arm-asmutils.o imports.o lispdcmd.o plprint.o plsym.o albt.o arm_print.o -Wl,--no-as-needed -ldl -lm -lpthread -lrt
pmcl-kernel.o: In function `lazarus':
/usr/local/src/ccl/lisp-kernel/linuxarm/../pmcl-kernel.c:1692: undefined reference to `start_lisp'
pmcl-kernel.o: In function `xMakeDataExecutable':
/usr/local/src/ccl/lisp-kernel/linuxarm/../pmcl-kernel.c:2206: undefined reference to `flush_cache_lines'
pmcl-kernel.o: In function `check_arm_cpu':
/usr/local/src/ccl/lisp-kernel/linuxarm/../pmcl-kernel.c:1667: undefined reference to `feature_check'
pmcl-kernel.o: In function `xMakeDataExecutable':
/usr/local/src/ccl/lisp-kernel/linuxarm/../pmcl-kernel.c:2206: undefined reference to `flush_cache_lines'
pmcl-kernel.o: In function `main':
/usr/local/src/ccl/lisp-kernel/linuxarm/../pmcl-kernel.c:2177: undefined reference to `start_lisp'
/usr/local/src/ccl/lisp-kernel/linuxarm/../pmcl-kernel.c:2031: undefined reference to `nvalret'
.....
Thanks RalfD
>
> --
> With best regards, Stas.
More information about the Openmcl-devel
mailing list