[Buildroot] [PATCH] stress-ng: bump to version 0.11.14

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Jun 20 19:26:33 UTC 2020


On Fri, 19 Jun 2020 11:37:45 +0300
Baruch Siach <baruch at tkos.co.il> wrote:

> Enable build for musl libc. glibc specific code is now behind __GNUC__.
> Add a patch to fix collision with kernel defined struct sysinfo.
> 
> Drop attr dependency. Not used anymore.
> 
> Make keyutils an optional dependency. Detected at config time.
> 
> Enable static build now that keyutils is not a mandatory dependency.
> 
> Format hash file with two spaces delimiters.
> 
> Cc: Romain Naour <romain.naour at gmail.com>
> Signed-off-by: Baruch Siach <baruch at tkos.co.il>

Thanks, applied! One comment below.

> +Subject: [PATCH] stress-ng.h: suppress kernel sysinfo.h
> +
> +The kernel sysinfo.h (indirectly included from genetlink.h) defines
> +struct sysinfo. This collides with musl libc definition of the same
> +struct.

This hack of defining _LINUX_SYSINFO_H is not pretty. But after looking
at it, I see that uClibc-ng does exactly that. glibc takes a different
route: they use directly the definition from the kernel headers, and
don't duplicate it in the glibc headers.

Anyway, that's good enough, so I've applied.

Thanks,

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


More information about the buildroot mailing list