[Buildroot] [PATCH v1] package/php: fix aarch64 uclibc-ng compile

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Mar 22 21:34:58 UTC 2020


On Mon,  9 Mar 2020 15:50:38 +0100
Peter Seiderer <ps.report at gmx.net> wrote:

> The aarch64 compile uses the sys/auxv.h header which is not
> provided by ulcibc-ng. Add configure.ac patch to check for
> the header before using it in ext/standard/crc32.c.
> 
> Fixes:
> 
>   https://bugs.busybox.net/show_bug.cgi?id=12626
> 
>   build/php-7.4.3/ext/standard/crc32.c:26:12: schwerwiegender Fehler: sys/auxv.h: Datei oder Verzeichnis nicht gefunden
> 
> Signed-off-by: Peter Seiderer <ps.report at gmx.net>
> ---
>  ...Check-for-sys-auxv.h-before-using-it.patch | 59 +++++++++++++++++++
>  1 file changed, 59 insertions(+)
>  create mode 100644 package/php/0005-Check-for-sys-auxv.h-before-using-it.patch

Applied to master, thanks. I've added a reference to the upstream
commit, since it has now been merged upstream.

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



More information about the buildroot mailing list