Nope, qemu-slof made no difference.

Note that I'm using qemu in user mode emulation, rather than full system
emulation.

(see
https://help.ubuntu.com/community/Installation/QemuEmulator#What_is_QEMU_.3F
)

Alternatively to `qemu-ppc a.out', I can also just run './a.out' and get
the same effect.


Finally, the same test works just fine with arm:

jruble@jruble-linux:~/ppc_qemu_test$ export 
QEMU_LD_PREFIX=/usr/arm-linux-gnueabihf
jruble@jruble-linux:~/ppc_qemu_test$ arm-linux-gnueabihf-gcc test.c 
jruble@jruble-linux:~/ppc_qemu_test$ file a.out 
a.out: ELF 32-bit LSB  executable, ARM, EABI5 version 1 (SYSV), dynamically 
linked (uses shared libs), for GNU/Linux 2.6.32, 
BuildID[sha1]=3f42842e35e9d847e5b16f1c50903fc2e8cebfcd, not stripped
jruble@jruble-linux:~/ppc_qemu_test$ ./a.out 
asdf
jruble@jruble-linux:~/ppc_qemu_test$

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1349941

Title:
  qemu-ppc segfault on simple hello world

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to