This issue is now marked as invalid, sorry for the trouble.
qemu works just fine. The problem was with my linker configuration, it
was using a different dynamic library for aarch64. Switching to a
standard development stack solved my problem.
** Changed in: qemu
Status: New => Invalid
--
Running "unbuffer qemu-aarch64 $program > $file" allows to pipe the
output.
Is it intentional that I need to disable buffering to allow piping to
other processes? If yes, this issue can be closed.
further reading about unbuffer:
Public bug reported:
Running qemu-aarch64 $program > $file doesn't pipe anything to $file.
The file is created but empty.
qemu-aarch64 --help > $file works, so piping output in my system seems to work.
qemu-x86_64 $program > $file works, too.
I'm running version 2.12.0 build from source with