[Buildroot] [PATCH 12/12] libffi and python: need threads support

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Sep 13 07:57:12 UTC 2014


Dear Jérôme Pouiller,

On Fri, 12 Sep 2014 17:50:11 +0200, Jérôme Pouiller wrote:
> libffi depends on pthreads.
> 
> Python depends on libffi (it can provide a builtin libffi, but also depends on
> pthreads). Thus this patch also disable Python support if toolchain is compiled
> w/o treads support.
> 
> Fixes http://sysmic.org/~jezz/results/204099dd:
> 
> ../src/closures.c:119:21: fatal error: pthread.h: No such file or directory

This seems weird. We have a no threads toolchain in our autobuilders
and it was never detected, even though I'm pretty sure libffi was built
a number of times. Do you have the configuration that exhibits the
problem?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list