[Ecls-list] ECL sigill on debian armel (lenny)

Luca Capello luca at pca.it
Wed Sep 3 13:22:14 UTC 2008


severity 495351 minor
thanks

Hi!

Please, if you deal with a Debian bug which has already been reported
(and thus has a number), don't forget to always cc: the bug as well (no
need to subscribe).  For the record, the threads on the upstream mailing
list are [1], [2] and [3].

On Sat, 30 Aug 2008 17:31:44 +0200, Martin Guy wrote:
>   This problem doesn't present itself on native debian systems:

Maybe not this specific problem, but the Debian package misses a
dependency on gcc:

=====
root at ranma:~# apt-get install ecl
[...]

Selecting previously deselected package ecl.
Unpacking ecl (from .../ecl_0.9j-20080306-4_armel.deb) ...
Processing triggers for man-db ...
Setting up libgc1c2 (1:6.8-1.2) ...
Setting up cl-asdf (1.111-1) ...
Reinstalling for ecl
Recompiling Common Lisp Controller for ecl
/usr/lib/common-lisp/bin/ecl.sh loading and dumping clc.
;;; Loading "/usr/lib/ecl/install-clc.lisp"
;;; Loading #P"/usr/lib/ecl/cmp.fas"
;;; Loading #P"/usr/lib/ecl/sysfun.lsp"

Saving to new-ecl...sh: arm-linux-gnueabi-gcc: not found
=====

It happens that ranma is my Openmoko FreeRunner, powered by Debian [4].
Since we (the Debian FSO Team [5]) decided to install a very minimal
Debian (cdeboostrap minimal flavour), gcc is not installed by default
(Priority: optional).

As soon as gcc is installed, ecl works like a charm (I tried the "hello
world" example in the documentation [6]).  Problem fixed [7].

FWIW, this is with Openmoko upstream 2.6.24 kernel.

> I've tried it on armv54te and armv4t boxes and ecl installs and runs
> fine, also under gdb. I can only think maybe some kernel difference -
> for example, ecl makes use of threads.

As explained by Detlef [3], this could be a kernel bug.  Thus this bug
should be reassigned to the kernel package, but since it could be
already fixed, I'd rather close it.

Detlef, what do you think?

> If it would help to have ssh access to a native Debian armel box, to
> help find the difference, you are welcome - just write me.

You can also play with qemu/qemubuilder as explained at [4]: ECL
installs and works fine with a Debian 2.6.24 kernel.

Thx, bye,
Gismo / Luca

Footnotes: 
[1] http://thread.gmane.org/gmane.lisp.ecl.general/4210
[2] http://thread.gmane.org/gmane.lisp.ecl.general/4341
[3] http://thread.gmane.org/gmane.lisp.ecl.general/4372
[4] http://wiki.debian.org/DebianOnFreeRunner
[5] http://wiki.debian.org/Teams/DebianFSO
[6] New manual: "1.6. Compiler examples"
[7] http://git.debian.org/?p=pkg-common-lisp/ecl.git;a=commitdiff;h=0f9b75fad97065c28242d47a77aa9cca7766ffa5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20080903/07395b07/attachment.sig>


More information about the ecl-devel mailing list