[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PULL 0/9] tcg patch queue
From: |
Peter Maydell |
Subject: |
Re: [PULL 0/9] tcg patch queue |
Date: |
Mon, 13 Sep 2021 10:57:54 +0100 |
On Sun, 12 Sept 2021 at 16:58, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> Note that I've extended the expiration date of my gpg key
> and have uploaded it to keyserver.ubuntu.com.
>
>
> r~
>
>
> The following changes since commit 99c44988d5ba1866a411450c877ed818b1b70081:
>
> Merge remote-tracking branch 'remotes/bsdimp/tags/pull-bsd-user-20210910'
> into staging (2021-09-11 14:00:39 +0100)
>
> are available in the Git repository at:
>
> https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20210912
>
> for you to fetch changes up to 267a3ec3e2a8fb3e06a9d46d09fcfc57dfefd118:
>
> tcg/arm: Fix tcg_out_vec_op function signature (2021-09-12 05:07:36 -0700)
>
> ----------------------------------------------------------------
> Fix translation race condition for user-only.
> Fix tcg/i386 encoding for VPSLLVQ, VPSRLVQ.
> Fix tcg/arm tcg_out_vec_op signature.
> Fix tcg/ppc (32bit) build with clang.
> Remove dupluate TCG_KICK_PERIOD definition.
> Remove unused tcg_global_reg_new.
> Use __builtin_bswap*.
>
Hi; this fails to build on NetBSD:
In file included from /usr/include/stdarg.h:37:0,
from /home/qemu/qemu-test.X505HZ/src/include/qemu/osdep.h:79,
from ../src/tests/qtest/test-arm-mptimer.c:10:
/home/qemu/qemu-test.X505HZ/src/include/qemu/bswap.h:10:24: error:
expected declaration specifiers or '...' before '__builtin_constant_p'
static inline uint16_t bswap16(uint16_t x)
^
/home/qemu/qemu-test.X505HZ/src/include/qemu/bswap.h:15:24: error:
expected declaration specifiers or '...' before '__builtin_constant_p'
static inline uint32_t bswap32(uint32_t x)
^
/home/qemu/qemu-test.X505HZ/src/include/qemu/bswap.h:20:24: error:
expected declaration specifiers or '...' before '__builtin_constant_p'
static inline uint64_t bswap64(uint64_t x)
^
and on FreeBSD:
In file included from ../src/disas/nanomips.cpp:31:
In file included from
/usr/home/qemu/qemu-test.UUfQa1/src/include/disas/dis-asm.h:12:
/usr/home/qemu/qemu-test.UUfQa1/src/include/qemu/bswap.h:10:24: error:
unknown type name '__builtin_constant_p'
static inline uint16_t bswap16(uint16_t x)
^
/usr/include/sys/endian.h:61:20: note: expanded from macro 'bswap16'
#define bswap16(x) __bswap16(x)
^
/usr/include/x86/endian.h:76:16: note: expanded from macro '__bswap16'
((__uint16_t)(__builtin_constant_p(x) ? \
^
In file included from ../src/disas/nanomips.cpp:31:
In file included from
/usr/home/qemu/qemu-test.UUfQa1/src/include/disas/dis-asm.h:12:
/usr/home/qemu/qemu-test.UUfQa1/src/include/qemu/bswap.h:10:24: error:
expected ')'
/usr/include/sys/endian.h:61:20: note: expanded from macro 'bswap16'
#define bswap16(x) __bswap16(x)
^
/usr/include/x86/endian.h:76:40: note: expanded from macro '__bswap16'
((__uint16_t)(__builtin_constant_p(x) ? \
^
/usr/home/qemu/qemu-test.UUfQa1/src/include/qemu/bswap.h:10:24: note:
to match this '('
/usr/include/sys/endian.h:61:20: note: expanded from macro 'bswap16'
#define bswap16(x) __bswap16(x)
^
/usr/include/x86/endian.h:76:15: note: expanded from macro '__bswap16'
((__uint16_t)(__builtin_constant_p(x) ? \
^
In file included from ../src/disas/nanomips.cpp:31:
In file included from
/usr/home/qemu/qemu-test.UUfQa1/src/include/disas/dis-asm.h:12:
/usr/home/qemu/qemu-test.UUfQa1/src/include/qemu/bswap.h:12:30: error:
use of undeclared identifier 'x'
return __builtin_bswap16(x);
^
/usr/home/qemu/qemu-test.UUfQa1/src/include/qemu/bswap.h:15:24: error:
expected ')'
static inline uint32_t bswap32(uint32_t x)
^
/usr/include/sys/endian.h:62:20: note: expanded from macro 'bswap32'
#define bswap32(x) __bswap32(x)
^
/usr/include/x86/endian.h:79:27: note: expanded from macro '__bswap32'
(__builtin_constant_p(x) ? \
^
/usr/home/qemu/qemu-test.UUfQa1/src/include/qemu/bswap.h:15:24: note:
to match this '('
/usr/include/sys/endian.h:62:20: note: expanded from macro 'bswap32'
#define bswap32(x) __bswap32(x)
^
/usr/include/x86/endian.h:79:2: note: expanded from macro '__bswap32'
(__builtin_constant_p(x) ? \
^
In file included from ../src/disas/nanomips.cpp:31:
In file included from
/usr/home/qemu/qemu-test.UUfQa1/src/include/disas/dis-asm.h:12:
/usr/home/qemu/qemu-test.UUfQa1/src/include/qemu/bswap.h:15:24: error:
cannot redeclare builtin function '__builtin_constant_p'
static inline uint32_t bswap32(uint32_t x)
^
/usr/include/sys/endian.h:62:20: note: expanded from macro 'bswap32'
#define bswap32(x) __bswap32(x)
^
/usr/include/x86/endian.h:79:3: note: expanded from macro '__bswap32'
(__builtin_constant_p(x) ? \
^
/usr/home/qemu/qemu-test.UUfQa1/src/include/qemu/bswap.h:10:24: note:
'__builtin_constant_p' is a builtin with type 'int (...) noexcept'
static inline uint16_t bswap16(uint16_t x)
^
/usr/include/sys/endian.h:61:20: note: expanded from macro 'bswap16'
#define bswap16(x) __bswap16(x)
^
/usr/include/x86/endian.h:76:16: note: expanded from macro '__bswap16'
((__uint16_t)(__builtin_constant_p(x) ? \
^
In file included from ../src/disas/nanomips.cpp:31:
In file included from
/usr/home/qemu/qemu-test.UUfQa1/src/include/disas/dis-asm.h:12:
/usr/home/qemu/qemu-test.UUfQa1/src/include/qemu/bswap.h:15:24: error:
definition of builtin function '__builtin_constant_p'
static inline uint32_t bswap32(uint32_t x)
^
/usr/include/sys/endian.h:62:20: note: expanded from macro 'bswap32'
#define bswap32(x) __bswap32(x)
^
/usr/include/x86/endian.h:79:3: note: expanded from macro '__bswap32'
(__builtin_constant_p(x) ? \
^
[etc etc]
thanks
-- PMM
- [PULL 0/9] tcg patch queue, Richard Henderson, 2021/09/12
- [PULL 4/9] accel/tcg: remove redundant TCG_KICK_PERIOD define, Richard Henderson, 2021/09/12
- [PULL 6/9] include/qemu: Use builtins for bswap, Richard Henderson, 2021/09/12
- [PULL 3/9] tcg/i386: Split P_VEXW from P_REXW, Richard Henderson, 2021/09/12
- [PULL 8/9] tcg/ppc: Ensure _CALL_SYSV is set for 32-bit ELF, Richard Henderson, 2021/09/12
- [PULL 1/9] accel/tcg: Add DisasContextBase argument to translator_ld*, Richard Henderson, 2021/09/12
- [PULL 2/9] accel/tcg: Clear PAGE_WRITE before translation, Richard Henderson, 2021/09/12
- [PULL 9/9] tcg/arm: Fix tcg_out_vec_op function signature, Richard Henderson, 2021/09/12
- [PULL 5/9] tcg: Remove tcg_global_reg_new defines, Richard Henderson, 2021/09/12
- [PULL 7/9] tcg/ppc: Replace TCG_TARGET_CALL_DARWIN with _CALL_DARWIN, Richard Henderson, 2021/09/12
- Re: [PULL 0/9] tcg patch queue,
Peter Maydell <=