[xcvb-devel] [asdf-devel] ASDF-bundle and cross-compiling with ECL

Faré fahree at gmail.com
Thu Nov 29 19:03:05 UTC 2012


On Thu, Nov 29, 2012 at 12:03 PM, Sylvain Ageneau <ageneau at gmail.com> wrote:
> Thanks for your answer.
>
> Yes I'm definitely interested. I started playing around with the latest (0.596) xcvb release and it looks like it can already almost do what I need.
>
If you pull from xcvb,
I have a trivial patch to remove grain-sets from the build.
It's quite possible I packaged the xcvb tarball
before I pushed fare-quasiquote to the public git — my mistake,
and pulling should fix it indeed.

> After that I tried bootstrapping xcvb using the latest ECL trunk and ran into issues apparently related to closer-mop (I'm guessing this has to do with the latest mop changes in ECL). For what I'm trying to achieve I don't necessarily need to compile xcvb itself using ECL anyway right?
>
xcvb was not ported to compile with ECL as a host;
please use SBCL or CCL, or else CLISP if neither is available on your platform.

> --> Updated asdf to the latest revision (2.26.3), also removed the form (:when (:featurep :ecl) "asdf-ecl") in build.xcvb
>
Thanks. This is fixed in asdf 2.26.4.

> At this point xcvb manages to compile alexandria. There's a bunch of warnings "xcvb-driver::get-optimization-settings does not support your implementation. Please help me fix that.".
>
Fixed in xcvb HEAD.

> Next I tried with cffi. It fails apparently when trying to compile babel's "package.lisp" file:
>
>
> The value SB-IMPL::BACKQ-LIST is not of type CHARACTER.
Ooops, there was a spurious backquote in dependencies-interpreter.lisp.
Fixed in xcvb HEAD.

Still, when I get past it, I find that XCVB ends up
trying to load a .so the wrong way.
The CFFI and/or dynamic library support has bitrotten
(if it ever worked on ECL).
I see that compiling CFFI now fails on SBCL, too,
and at least requires re-merging a newer CFFI for xcvb.

I will investigate.

> Also If I understand correctly if I want to do cross-compilation, I need to provide a setup.lisp file that configures ecl as a cross compiler.
> I tried with a simple "setup.lisp" containing:
>
> #+xcvb (module (:depends-on ("package")))
> (setf common-lisp:*features* (cons :android common-lisp:*features*))
>
>
> But I get:
> xcvb simple-build -l ecl --setup /alexandria/setup --build /alexandria
> BORK:
> Simple Dispatcher[linkable-dependency]: Error: No associated dispatch function for the keyword in car position of expression (:LISP "/alexandria/setup")
>
> (same works fine if using sbcl)
>
That's weird. I will investigate.

I'm sorry XCVB is not ready for you yet :-(
I will get back to you...

—♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org
What we Are is God's gift to us.
What we Become is our gift to God.




More information about the xcvb-devel mailing list