All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1771570] [NEW] qemu-aarch64 $program > $file doesn't pipe output to file in 2.12.0
@ 2018-05-16 13:41 Juho Hiltunen
  2018-05-18 17:47 ` [Qemu-devel] [Bug 1771570] " Juho Hiltunen
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Juho Hiltunen @ 2018-05-16 13:41 UTC (permalink / raw)
  To: qemu-devel

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 ./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

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1771570

Title:
  qemu-aarch64 $program  > $file doesn't pipe output to file in 2.12.0

Status in QEMU:
  New

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1771570/+subscriptions

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Qemu-devel] [Bug 1771570] Re: qemu-aarch64 $program > $file doesn't pipe output to file in 2.12.0
  2018-05-16 13:41 [Qemu-devel] [Bug 1771570] [NEW] qemu-aarch64 $program > $file doesn't pipe output to file in 2.12.0 Juho Hiltunen
@ 2018-05-18 17:47 ` Juho Hiltunen
  2018-05-18 18:09 ` Peter Maydell
  2018-05-19  6:46 ` Juho Hiltunen
  2 siblings, 0 replies; 4+ messages in thread
From: Juho Hiltunen @ 2018-05-18 17:47 UTC (permalink / raw)
  To: qemu-devel

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

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1771570

Title:
  qemu-aarch64 $program  > $file doesn't pipe output to file in 2.12.0

Status in QEMU:
  New

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1771570/+subscriptions

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Qemu-devel] [Bug 1771570] Re: qemu-aarch64 $program > $file doesn't pipe output to file in 2.12.0
  2018-05-16 13:41 [Qemu-devel] [Bug 1771570] [NEW] qemu-aarch64 $program > $file doesn't pipe output to file in 2.12.0 Juho Hiltunen
  2018-05-18 17:47 ` [Qemu-devel] [Bug 1771570] " Juho Hiltunen
@ 2018-05-18 18:09 ` Peter Maydell
  2018-05-19  6:46 ` Juho Hiltunen
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Maydell @ 2018-05-18 18:09 UTC (permalink / raw)
  To: qemu-devel

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?

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1771570

Title:
  qemu-aarch64 $program  > $file doesn't pipe output to file in 2.12.0

Status in QEMU:
  New

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1771570/+subscriptions

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Qemu-devel] [Bug 1771570] Re: qemu-aarch64 $program > $file doesn't pipe output to file in 2.12.0
  2018-05-16 13:41 [Qemu-devel] [Bug 1771570] [NEW] qemu-aarch64 $program > $file doesn't pipe output to file in 2.12.0 Juho Hiltunen
  2018-05-18 17:47 ` [Qemu-devel] [Bug 1771570] " Juho Hiltunen
  2018-05-18 18:09 ` Peter Maydell
@ 2018-05-19  6:46 ` Juho Hiltunen
  2 siblings, 0 replies; 4+ messages in thread
From: Juho Hiltunen @ 2018-05-19  6:46 UTC (permalink / raw)
  To: qemu-devel

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

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1771570

Title:
  qemu-aarch64 $program  > $file doesn't pipe output to file in 2.12.0

Status in QEMU:
  Invalid

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1771570/+subscriptions

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-05-19  7:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-16 13:41 [Qemu-devel] [Bug 1771570] [NEW] qemu-aarch64 $program > $file doesn't pipe output to file in 2.12.0 Juho Hiltunen
2018-05-18 17:47 ` [Qemu-devel] [Bug 1771570] " Juho Hiltunen
2018-05-18 18:09 ` Peter Maydell
2018-05-19  6:46 ` Juho Hiltunen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.