[Ecls-list] Building ECL on Arm7

Chris Bagley chris.bagley at gmail.com
Wed Oct 31 07:07:01 UTC 2012

Hi Folks,
I'm having some issues trying to compile ECL 12.7.1 under arm7. I'm setting
up with the following:
export CXXFLAGS="-Wa,-mimplicit-it=thumb -DAO_REQUIRE_CAS"
export CFLAGS="-Wa,-mimplicit-it=thumb -DAO_REQUIRE_CAS"

This works fine, but when I 'make' it, it compiles for a couple of minutes
this I get the following:
dpp: /home/ubuntu/eclnew/ecl-12.7.1/src/c/threads/semaphore.d ->
gcc -DECLDIR="\"/usr/local/lib/ecl-12.7.1\"" -I.
-I/home/ubuntu/eclnew/ecl-12.7.1/src/c -I../ecl/gc -DECL_API
-Wa,-mimplicit-it=thumb -DAO_REQUIRE_CAS -fPIC -D_THREAD_SAFE -Dlinux -c -o
threads/semaphore.o threads/semaphore.o.c
/home/ubuntu/eclnew/ecl-12.7.1/src/c/threads/semaphore.d:21:2: error:
#error "Cannot implement semaphores without AO_fetch_and_add_full"
make[2]: *** [threads/semaphore.o] Error 1
make[2]: Leaving directory `/home/ubuntu/eclnew/ecl-12.7.1/build/c'
make[1]: *** [libeclmin.a] Error 2
make[1]: Leaving directory `/home/ubuntu/eclnew/ecl-12.7.1/build'
make: *** [all] Error 2

When I first got this error I googled and found this thread:
http://sourceforge.net/mailarchive/message.php?msg_id=29573370 which is
what made me add the -DAO_REQURE_CAS to the CFLAGS (and CXXFLAGS though I
don't know if that is neccessary)

Have I done this incorrectly or is there something else I have missed? Any
advice would be amazingly helpful!

Cheers all,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20121031/eaf61e76/attachment.html>

More information about the ecl-devel mailing list