On Thu, 7 May 2026 at 14:58, Philippe Mathieu-Daudé <[email protected]> wrote: > > Move arm_gicv3_hvf_stub.c, introduced in commit 48396ad6ce9 > ("hw/intc: arm_gicv3_hvf: save/restore Apple GIC state"), to > the global stub_ss[] source set which holds stub files being > built once for all binaries, instead of one time per system > binary. This prevents symbol clash when trying to build a > single QEMU system binary: > > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > duplicate symbol '_vmstate_gicv3_hvf' in: > libqemu-aarch64-softmmu.a.p/hw_intc_arm_gicv3_hvf_stub.c.o > libqemu-arm-softmmu.a.p/hw_intc_arm_gicv3_hvf_stub.c.o > ld: 1 duplicate symbols > > Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Applied to target-arm.next, thanks. -- PMM
