Laurent Desnogues schrieb: > On Sat, Jan 30, 2010 at 12:04 AM, Stefan Weil <w...@mail.berlios.de> > wrote: > [...] >> that was a good suggestion. bntest raises a segmentation fault >> (NULL pointer, p == 0, see below) with qemu-x86_64 on a x86_64 host. > > Compile bntest statically and it should work. > > x86_64 user mode is completely broken for dynamically > linked programs. > > > Laurent >
A statically linked bntest results in a crash, too. Stefan $ ldd bntest not a dynamic executable $ x86/x86_64-linux-user/qemu-x86_64 ./bntest ERROR: ioctl(SNDCTL_DSP_MAPINBUF): target=0x80085013 host=0x80105013 ERROR: ioctl(SNDCTL_DSP_MAPOUTBUF): target=0x80085014 host=0x80105014 obase=16 ibase=16 test BN_add print "test BN_add\n" qemu: uncaught target signal 11 (Segmentation fault) - core dumped