[Buildroot] [PATCH] package/libnss: fix build failure on powerpc without <sys/auxv.h>

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Dec 10 13:09:49 UTC 2019


On Tue, 10 Dec 2019 13:13:22 +0100
Giulio Benetti <giulio.benetti at benettiengineering.com> wrote:

> Add patch to fix build failure on PowerPc without <sys/auxv.h>. The patch
> inserts #if statements to include or note <sys/auxv.h> prior it exists.
> 
> Fixes:
> http://autobuild.buildroot.net/results/8bf95bd8a0aec8c53889308ab1e00d0a94f53d57/

When is this header file available/not available? Is it a glibc vs.
musl vs. uClibc thing? Something else?

I'm not really a big fan of solutions that simply consist in "it wants
this file, this file is not available, so let's make it ignore it",
without a deeper investigation.

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



More information about the buildroot mailing list