From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/xen: Include linux/limits.h when building QEMU inside of Xen
Date: Sat, 29 Jul 2017 15:37:54 +0200 [thread overview]
Message-ID: <20170729153754.5ac928ba@windsurf.lan> (raw)
In-Reply-To: <20170728184517.31465-1-alistair.francis@xilinx.com>
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@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
prev parent reply other threads:[~2017-07-29 13:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-28 18:45 [Buildroot] [PATCH] package/xen: Include linux/limits.h when building QEMU inside of Xen Alistair Francis
2017-07-29 13:37 ` Thomas Petazzoni [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170729153754.5ac928ba@windsurf.lan \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox