[Buildroot] [PATCH next 4/6] moarvm: select libffi when building for MIPS

Vicente Olivert Riera Vincent.Riera at imgtec.com
Thu Nov 24 16:23:46 UTC 2016


Hi Thomas,

On 24/11/16 15:21, Thomas Petazzoni wrote:
> Hello,
> 
> Thanks for your feedback.
> 
> On Thu, 24 Nov 2016 14:58:00 +0000, Vicente Olivert Riera wrote:
> 
>> MoarVM depends on libatomic_ops, and libatomic_ops doesn't have MIPS
>> support in Buildroot so far. This patch series adds MIPS support to it,
>> so, from that moment, MoarVM will be able to be built for MIPS.
> 
> If moarvm depends on libatomic_ops, then why the patch enabling MIPS
> support in libatomic_ops is PATCH 5/6, i.e. *after* the patch enabling
> moarvm? Won't things break if I apply only patches 1 to 4, but not
> patches 5 and 6 ?

no, there is no patch enabling or disabling MoarVM for MIPS. You won't
be able to build MoarVM for MIPS until libatomic_ops has support for
MIPS as well, because MoarVM depends on libatomic_ops.

So, if we enable libatomic_ops, then we will be able to build MoarVM,
and that will fail. What I did in my patch series is to add the code for
fixing the MIPS problem in MoarVM even before we can actually build it
for MIPS.

Regards,

Vincent

> 
> Best regards,
> 
> Thomas
> 



More information about the buildroot mailing list