the upcoming POSIX revision[0]).
musl libc does not define __SIGRTMAX, so disabling this check when
it is missing fixes one of the last remaining errors when building
qemu.
[0] https://www.austingroupbugs.net/view.php?id=741
Signed-off-by: Michael Forney
---
Changes since v2:
* Guard check by
qemu.
[0] https://www.austingroupbugs.net/view.php?id=741
Signed-off-by: Michael Forney
---
If you prefer, I can send an alternate patch to leave the
QEMU_BUILD_BUG_ON, but guard it by #ifdef __SIGRTMAX.
linux-user/signal.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/linux-user/signal
: Michael Forney
---
configure| 16
linux-user/syscall.c | 6 +-
2 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index 676239c697..fa39b0a727 100755
--- a/configure
+++ b/configure
@@ -4462,6 +4462,19 @@ if compile_prog ""
the st_*tim fields, use the configure test result
which does exactly that.
Signed-off-by: Michael Forney
---
linux-user/syscall.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index c9f812091c..9a52f235d2 100644
--- a/linux
#L322-L324
[1] https://github.com/mpe/linux-fullhistory/blob/v2.2.0/fs/locks.c#L429-L445
Signed-off-by: Michael Forney
---
Changes since v1: fixed typo in commit message, resend to qemu-trivial.
linux-user/alpha/target_fcntl.h | 2 --
linux-user/generic/fcntl.h | 5 -
linux-user/syscall.c
completely, just remove it.
Tested building on OpenBSD after removing this include.
Signed-off-by: Michael Forney
Reviewed-by: Eric Blake
---
Changes since v1: rebase on latest master
include/qemu/osdep.h | 4
meson.build | 1 -
2 files changed, 5 deletions(-)
diff --git a/in
#L322-L324
[1] https://github.com/mpe/linux-fullhistory/blob/v2.2.0/fs/locks.c#L429-L445
Signed-off-by: Michael Forney
---
linux-user/alpha/target_fcntl.h | 2 --
linux-user/generic/fcntl.h | 5 -
linux-user/syscall.c| 2 --
3 files changed, 9 deletions(-)
diff --git a/linux
completely, just remove it.
Tested building on OpenBSD after removing this include.
Signed-off-by: Michael Forney
---
configure| 10 --
include/qemu/osdep.h | 4
2 files changed, 14 deletions(-)
diff --git a/configure b/configure
index 55e07c82dd..7b57456052 100755
--- a