Re: [PATCH] util/loongarch64: Add clang compiler support

2025-03-14 Thread Yao Zi
imilar patch[1]. Apart from preventing the disk tools to be built, this issue affects several headers used by linux-user emulators as well. IMHO this should be fixed, too, or my patch could be taken. Sorry for the inconvenience, Yao Zi [1]: https://lore.kernel.org/all/20250314033150.53268-3-zi.

[PATCH] host/include/loongarch64: Fix inline assembly compatibility with Clang

2025-03-13 Thread Yao Zi
Clang on LoongArch only accepts fp register names in the dollar-prefixed form, while GCC allows omitting the dollar. Change registers in ASM clobbers to the dollar-prefixed form to make user emulators buildable with Clang on loongarch64. No functional change invovled. Signed-off-by: Yao Zi

[PATCH] linux-user/riscv: Fix definition of RISCV_HWPROBE_EXT_ZVFHMIN

2024-10-22 Thread Yao Zi
linux-user/riscv: Sync hwprobe keys with Linux") Cc: qemu-sta...@nongnu.org Signed-off-by: Yao Zi --- linux-user/syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 1354e75694..ec1a77f23a 100644 --- a/linux-user/sysca

[PATCH] linux-user: Fix build failure caused by missing __u64 on musl

2024-10-22 Thread Yao Zi
add openat2 support in linux-user") Signed-off-by: Yao Zi --- linux-user/syscall_defs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h index 0ade83745e..0e08dfae3e 100644 --- a/linux-user/syscall_defs.h +++ b/

Re: [PATCH] meson.build: fix libgcrypt detection on system without libgcrypt-config

2024-07-15 Thread Yao Zi
On Fri, Jul 12, 2024 at 02:52:02PM +0100, Daniel P. Berrangé wrote: > On Sat, Jul 06, 2024 at 08:12:26PM +0000, Yao Zi wrote: > > libgcrypt starts providing correct pkg-config configuration and dropping > > libgcrypt-config since 1.11.0. So use auto method for detection of > >

[PATCH] meson.build: fix libgcrypt detection on system without libgcrypt-config

2024-07-06 Thread Yao Zi
-config. Auto method for libgcrypt is supported by meson since 0.49.0, which is higher than the version qemu requires. Signed-off-by: Yao Zi --- meson.build | 1 - 1 file changed, 1 deletion(-) diff --git a/meson.build b/meson.build index 6a93da48e1..1b71824548 100644 --- a/meson.build +++ b