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

Faheem Mitha faheem at faheem.info
Fri May 9 06:50:54 PDT 2014


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?

Hi Rafael,

Let me know what happens with this. If you can give me access to an ARM 
system, I can take a look at the issue as well. I only have access to 
AMD64 systems. I don't know if it is possible to emulate ARM on those. If 
it is, let me know how.

                                                           Regards, Faheem


More information about the Openmcl-devel mailing list