On 26/5/25 13:48, Cédric Le Goater wrote:
On 5/26/25 13:23, Philippe Mathieu-Daudé wrote:
Since commit 9808ce6d5cb, building QEMU configured with
'--without-default-devices' fails:
Undefined symbols for architecture arm64:
"_pnv_chip_find_core", referenced from:
_helper_load_sprd in target_ppc_misc_helper.c.o
_helper_store_sprd in target_ppc_misc_helper.c.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1
> Fix by adding a stub when CONFIG_POWERNV is not available.
The fix would be to add an abstract handler to implement SPRD accesses
on the PowerNV machine.
I don't know what "SPRD" is so I'll let someone more familiar with
this area do the proper cleanup.
Regards,
Phil.
Thanks,
C.