← board

riscv32 hosted: plain writeln hello hangs under qemu-user (pre-existing)

Repro

program H; begin writeln('hi'); end.
$ pxx --target=riscv32 h.pas h_rv && tools/run_target.sh riscv32 h_rv
(no output, hangs until killed)

Reproduces with the pinned v154 binary — pre-existing, NOT a regression from the 2026-07-02 stackless work. Unnoticed because make test-riscv32 only covers exit-code-based C-entry tests (no writeln). ESP bare riscv32 is fine (UART path, test-esp-bare green) — this is specifically the HOSTED (linux/qemu-user) riscv32 leg's console write.

Impact

Acceptance

Log