On 19/6/24 09:49, Paolo Bonzini wrote:
On Wed, Jun 12, 2024 at 3:13 PM Philippe Mathieu-Daudé
<phi...@linaro.org> wrote:
Building qemu-system-mips configured with --without-default-devices:
Undefined symbols for architecture arm64:
"_qemu_semihosting_console_write", referenced from:
_mips_semihosting in target_mips_tcg_sysemu_mips-semi.c.o
"_semihost_sys_close", referenced from:
_mips_semihosting in target_mips_tcg_sysemu_mips-semi.c.o
"_uaccess_strlen_user", referenced from:
_mips_semihosting in target_mips_tcg_sysemu_mips-semi.c.o
...
So this one has to use "select".
Similarly m68k:
Undefined symbols for architecture arm64:
"_semihost_sys_close", referenced from:
_do_m68k_semihosting in target_m68k_m68k-semi.c.o
...
The file to be stubbed would have
to be target/m68k/m68k-semi.c (for do_m68k_semihosting) and
target/mips/tcg/sysemu/mips-semi.c (for mips_semihosting), not the
common code.
Yes! Thank you, I'm was to blind to realize that...