Re: [PATCH] target/riscv/cpu_helper: Fix linking problem with semihosting disabled

2024-09-06 Thread Peter Maydell
On Fri, 6 Sept 2024 at 10:30, Thomas Huth wrote: > > On 06/09/2024 10.58, Peter Maydell wrote: > > On Fri, 6 Sept 2024 at 09:09, Thomas Huth wrote: > >> > >> When QEMU has been configured with "--without-default-devices", the build > >> is currently failing with: > >> > >> /usr/bin/ld: libqemu-

Re: [PATCH] target/riscv/cpu_helper: Fix linking problem with semihosting disabled

2024-09-06 Thread Thomas Huth
On 06/09/2024 10.58, Peter Maydell wrote: On Fri, 6 Sept 2024 at 09:09, Thomas Huth wrote: When QEMU has been configured with "--without-default-devices", the build is currently failing with: /usr/bin/ld: libqemu-riscv32-softmmu.a.p/target_riscv_cpu_helper.c.o: in function `riscv_cpu_do_

Re: [PATCH] target/riscv/cpu_helper: Fix linking problem with semihosting disabled

2024-09-06 Thread Peter Maydell
On Fri, 6 Sept 2024 at 09:09, Thomas Huth wrote: > > When QEMU has been configured with "--without-default-devices", the build > is currently failing with: > > /usr/bin/ld: libqemu-riscv32-softmmu.a.p/target_riscv_cpu_helper.c.o: > in function `riscv_cpu_do_interrupt': > .../qemu/target/riscv/

[PATCH] target/riscv/cpu_helper: Fix linking problem with semihosting disabled

2024-09-06 Thread Thomas Huth
When QEMU has been configured with "--without-default-devices", the build is currently failing with: /usr/bin/ld: libqemu-riscv32-softmmu.a.p/target_riscv_cpu_helper.c.o: in function `riscv_cpu_do_interrupt': .../qemu/target/riscv/cpu_helper.c:1678:(.text+0x2214): undefined reference to `do_