[Openmcl-devel] Trying to package CCL in Debian (for the ARM architecture)

Gary Byers gb at clozure.com
Fri May 9 12:48:24 PDT 2014


The ffigen-linuxarm version is indeed the correct version.  It's based
on gcc-4.1, which was the first version of GCC that followed "modern"
ARM structure alignment rules.

You're compiling with options that cause some warnings to be treated
as errors.  You'll either need to disable those options of fix whatever's
causing those warnings.

On Fri, 9 May 2014, Administrador Sistemas wrote:

> Hi:
>
> I'm trying to package CCL for ARM in Debian (Wheezy and GCC 4.6) using the
> great work of Faheem Mitha. I've been able to create the package for AMD64 but
> when I tried to build for ARM, I found that FFIGEN at [1] did not support that
> architecture. When I looked at the Subversion tree I found a promising branch
> [2]. Finally, when I tried to build the package, it failed with the next
> message:
>
> ---8<------8<------8<------8<------8<------8<------8<---
> :
> :
> gengtype-lex.c:3459:6: warning: no previous prototype for ?yyset_out? [-
> Wmissing-prototypes]
> gengtype-lex.c:3464:5: warning: no previous prototype for ?yyget_debug? [-
> Wmissing-prototypes]
> gengtype-lex.c:3469:6: warning: no previous prototype for ?yyset_debug? [-
> Wmissing-prototypes]
> gengtype-lex.c:3475:5: warning: no previous prototype for ?yylex_destroy? [-
> Wmissing-prototypes]
> /scratch/mitchell/gcc-releases/gcc-4.1.0/gcc-4.1.0/gcc/gengtype-lex.l: In
> function ?yyerror?:
> /scratch/mitchell/gcc-releases/gcc-4.1.0/gcc-4.1.0/gcc/gengtype-lex.l:594:3:
> error: format not a string literal and no format arguments [-Werror=format-
> security]
> /scratch/mitchell/gcc-releases/gcc-4.1.0/gcc-4.1.0/gcc/gengtype-lex.l: At top
> level:
> gengtype-lex.c:2950:16: warning: ?input? defined but not used [-Wunused-
> function]
> cc1: some warnings being treated as errors
> make[4]: *** [build/gengtype-lex.o] Error 1
> make[4]: Leaving directory `/home/builder/deb/ccl/ccl-ffigen-1.2/build/gcc'
> make[3]: *** [all-gcc] Error 2
> make[3]: Leaving directory `/home/builder/deb/ccl/ccl-ffigen-1.2/build'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/builder/deb/ccl/ccl-ffigen-1.2/build'
> make[1]: *** [compile] Error 2
> make[1]: Leaving directory `/home/builder/deb/ccl/ccl-ffigen-1.2'
> dh_auto_build: make -j1 returned exit code 2
> make: *** [build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> debuild: fatal error at line 1357:
> dpkg-buildpackage -rfakeroot -D -us -uc failed
> ---8<------8<------8<------8<------8<------8<------8<---
>
> My question is, am I using the right branch for ARM?
>
> Greets and thanks in advance.
> Rafael J. Alc?tara P?ez.
>
> [1]http://svn.clozure.com/publicsvn/ffigen4/trunk/ffigen4
> [2]http://svn.clozure.com/publicsvn/ffigen4/branches/ffigen-linuxarm
> -- 
> +----------
> | Departamento de Sistemas <sistemas at dedaloingenieros.com>
> | Tel?ono fijo: 952 602 959
> | Fax: 952 602 959
> | Direcci?: C/ Afligidos 2, 3? Derecha, 29015 M?aga
> | D?alo Ingenieros, S.L.: http://www.dedaloingenieros.com/
> | PGP: http://pgp.rediris.es:11371/pks/lookup?op=index&search=0x1899F325
> +---------------------



More information about the Openmcl-devel mailing list