[Buildroot] [PATCH] package/xen: Include linux/limits.h when building QEMU inside of Xen
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sat Jul 29 13:37:54 UTC 2017
Hello,
On Fri, 28 Jul 2017 11:45:17 -0700, Alistair Francis wrote:
> If building Xen and not using glibc (using musl for example) the QEMU
> project inside of Xen fails to build as it relys on the XATTR_SIZE_MAX
> macro which is defined in <linux/limits.h>.
>
> Glibc includes this header indirectly but as that is not part of the
> POSIX standard other libraries don't neccessearily have this. To fix the
> issue we explicitly include <linux/limits.h> to ensure the build works
> for all libc libraries.
>
> Fixes:
> http://autobuild.buildroot.net/results/bb1/bb1310eb1464d880a357ae5e491fd168361d25a0
>
> Signed-off-by: Alistair Francis <alistair.francis at xilinx.com>
> ---
> ...include-linux-limits.h-for-XATTR_SIZE_MAX.patch | 43 ++++++++++++++++++++++
> 1 file changed, 43 insertions(+)
> create mode 100644 package/xen/0002-9pfs-include-linux-limits.h-for-XATTR_SIZE_MAX.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list