From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/uclibc: add custom bits/poll.h for xtensa
Date: Sun, 16 Dec 2018 22:23:52 +0100 [thread overview]
Message-ID: <87tvjd5fo7.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20181212151314.19556-1-jcmvbkbc@gmail.com> (Max Filippov's message of "Wed, 12 Dec 2018 07:13:14 -0800")
>>>>> "Max" == Max Filippov <jcmvbkbc@gmail.com> writes:
> Definitions of POLLWRNORM, POLLWRBAND and POLLREMOVE in xtensa linux
> kernel are non-standard. Provide bits/poll.h with correct values for
> these constants for uclibc-ng.
> This fixes the following strace build errors:
> In file included from xlat/pollflags.h:4:0,
> from poll.c:34:
> ./static_assert.h:40:24: error: static assertion failed: "POLLWRBAND != 0x0100"
> # define static_assert _Static_assert
> ^
> xlat/pollflags.h:75:1: note: in expansion of macro ?static_assert?
> static_assert((POLLWRBAND) == (0x0100), "POLLWRBAND != 0x0100");
> ^~~~~~~~~~~~~
> ./static_assert.h:40:24: error: static assertion failed: "POLLREMOVE != 0x0800"
> # define static_assert _Static_assert
> ^
> xlat/pollflags.h:117:1: note: in expansion of macro ?static_assert?
> static_assert((POLLREMOVE) == (0x0800), "POLLREMOVE != 0x0800");
> ^~~~~~~~~~~~~
> Fixes:
> http://autobuild.buildroot.net/results/5a0112b7a2c81fa5253c9adc93efe415256cd811
> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Committed to 2018.02.x, 2018.08.x and 2018.11.x, thanks.
--
Bye, Peter Korsgaard
prev parent reply other threads:[~2018-12-16 21:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-12 15:13 [Buildroot] [PATCH] package/uclibc: add custom bits/poll.h for xtensa Max Filippov
2018-12-12 15:55 ` Baruch Siach
2018-12-13 20:19 ` Thomas Petazzoni
2018-12-16 21:23 ` Peter Korsgaard [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=87tvjd5fo7.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.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