[Buildroot] [PATCH 1/1] package/php: fix build without threads

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Apr 10 21:06:21 UTC 2024


On Sat, 30 Mar 2024 19:00:23 +0100
Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:

> Fix the following build failure without threads raised since bump to
> version 8.3.4 in commit e50460f9f12a8c5f82f2166733afe9cca3c8cd19 and
> https://github.com/php/php-src/commit/a11c8a30399e90c17c287b9656c0077bc5131c9c:
> 
> /home/buildroot/instance-0/output-1/build/php-8.3.4/Zend/zend_call_stack.c:39:11: fatal error: pthread.h: No such file or directory
>    39 | # include <pthread.h>
>       |           ^~~~~~~~~~~
> 
> Fixes: e50460f9f12a8c5f82f2166733afe9cca3c8cd19
>  - http://autobuild.buildroot.org/results/a4ef648a9da50b26ed56d5d490e4cf5a1bfff970
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
>  ...ll_stack.c-fix-build-without-pthread.patch | 39 +++++++++++++++++++
>  1 file changed, 39 insertions(+)
>  create mode 100644 package/php/0006-Zend-zend_call_stack.c-fix-build-without-pthread.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list