diff options
Diffstat (limited to 'results/classifier/105/instruction/1771570')
| -rw-r--r-- | results/classifier/105/instruction/1771570 | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/results/classifier/105/instruction/1771570 b/results/classifier/105/instruction/1771570 new file mode 100644 index 00000000..543655b2 --- /dev/null +++ b/results/classifier/105/instruction/1771570 @@ -0,0 +1,40 @@ +instruction: 0.671 +other: 0.667 +device: 0.647 +semantic: 0.634 +graphic: 0.544 +mistranslation: 0.467 +socket: 0.435 +network: 0.434 +boot: 0.344 +vnc: 0.296 +KVM: 0.121 +assembly: 0.096 + +qemu-aarch64 $program > $file doesn't pipe output to file in 2.12.0 + +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 ./configure && make + +Output of uname -a: +Linux zhostname> 4.4.0-101-generic #124-Ubuntu SMP Fri Nov 10 18:29:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux + +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: https://unix.stackexchange.com/questions/25372/turn-off-buffering-in-pipe#25378 + + + +No, this should work on qemu-aarch64 the same way as for x86. I just tried redirection to a file with a sample program, and it worked fine for me. Can you provide a test case binary that fails like this, please? + + +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. + |