Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] blackfin and micropython
@ 2015-09-21  4:25 Chris Packham
  2015-09-21  7:13 ` Thomas Petazzoni
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Packham @ 2015-09-21  4:25 UTC (permalink / raw)
  To: buildroot

Hi,

I'm just looking at the micropython build failures and the blackfin
ones have have me a bit stumped.

The ones currently showing up[1] are format specifier errors. The code
in question[2] doesn't look particularly bad and other
architectures/compilers aren't complaining I guess it is getting
confused with the math around const byte * and unsigned int. I can
work around that issue by adding -Wno-error=format to CFLAGS for
BR2_bfin. But that leads to the next issue.

  modffi.c:87: error: expected specifier-qualifier-list before ?ffi_closure?
  modffi.c: In function ?mod_ffi_callback?:
  modffi.c:248: error: ?mp_obj_fficallback_t? has no member named ?clo?

I think these are because nothing defines FFI_CLOSURES. ffitarget.h
for bfin seems a lot sparser than for other architectures so I'm
thinking that's the problem.

I notice python, python3 and guile are not available for bfin. Not
that they explicitly exclude it but probably because of on of the
other dependencies they all have.

I'm not really familiar with bfin so I'm wondering if I should pursue
the libffi angle to try and get something that builds. Or look at the
dependencies of python/python3 and make micropython unavailable for
bfin.

Any thoughts/guidance?

Thanks,
Chris
--
[1] - http://autobuild.buildroot.org/results/cd2/cd21ee5ca3ca441aa2941e8d2729afa99d0403f0/build-end.log
[2] - https://github.com/micropython/micropython/blob/master/py/showbc.c#L294

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-09-22  4:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-21  4:25 [Buildroot] blackfin and micropython Chris Packham
2015-09-21  7:13 ` Thomas Petazzoni
2015-09-21  8:51   ` [Buildroot] [PATCH] micropython: Disable for Blackfin Chris Packham
2015-09-21  9:22     ` Baruch Siach
2015-09-22  4:18       ` [Buildroot] [PATCHv2] " Chris Packham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox