On Thu, 7 Mar 2024 at 14:52, Song Gao <gaos...@loongson.cn> wrote: > > The following changes since commit 8f6330a807f2642dc2a3cdf33347aa28a4c00a87: > > Merge tag 'pull-maintainer-updates-060324-1' of > https://gitlab.com/stsquad/qemu into staging (2024-03-06 16:56:20 +0000) > > are available in the Git repository at: > > https://gitlab.com/gaosong/qemu.git tags/pull-loongarch-20240307 > > for you to fetch changes up to 4dc2edfd6f8abfc38f0ba110502790aa5051b1b5: > > hw/loongarch: Add cells missing from rtc node (2024-03-07 21:58:00 +0800) > > ---------------------------------------------------------------- > pull-loongarch-20240307 > > ---------------------------------------------------------------- > Song Gao (17): > hw/loongarch: Move boot fucntions to boot.c > hw/loongarch: Add load initrd > hw/loongarch: Add slave cpu boot_code > hw/loongarch: Add init_cmdline > hw/loongarch: Init efi_system_table > hw/loongarch: Init efi_boot_memmap table > hw/loongarch: Init efi_initrd table > hw/loongarch: Init efi_fdt table > hw/loongarch: Fix fdt memory node wrong 'reg' > hw/loongarch: fdt adds cpu interrupt controller node > hw/loongarch: fdt adds Extend I/O Interrupt Controller > hw/loongarch: fdt adds pch_pic Controller > hw/loongarch: fdt adds pch_msi Controller > hw/loongarch: fdt adds pcie irq_map node > hw/loongarch: fdt remove unused irqchip node > hw/loongarch: Add cells missing from uart node > hw/loongarch: Add cells missing from rtc node
Hi; this failed to build on openbsd: In file included from ../src/target/loongarch/cpu.c:109: In file included from /home/qemu/qemu-test.JIZtaO/src/include/hw/loongarch/virt.h:16: /home/qemu/qemu-test.JIZtaO/src/include/hw/loongarch/boot.h:69:14: error: expected member name or ';' after declaration specifiers uint64_t stderr; ~~~~~~~~ ^ /usr/include/stdio.h:199:17: note: expanded from macro 'stderr' #define stderr (&__sF[2]) ^ In file included from ../src/target/loongarch/cpu.c:109: In file included from /home/qemu/qemu-test.JIZtaO/src/include/hw/loongarch/virt.h:16: /home/qemu/qemu-test.JIZtaO/src/include/hw/loongarch/boot.h:69:14: error: expected ')' /usr/include/stdio.h:199:17: note: expanded from macro 'stderr' #define stderr (&__sF[2]) ^ /home/qemu/qemu-test.JIZtaO/src/include/hw/loongarch/boot.h:69:14: note: to match this '(' /usr/include/stdio.h:199:16: note: expanded from macro 'stderr' #define stderr (&__sF[2]) ^ You can't name a struct field "stderr" -- it can clash with how the host OS chooses to implement its stdio.h. thanks -- PMM