On 04/24/2010 08:51 AM, q...@zensonic.dk wrote: > I was a bit surprised not being greeted with "hello world", so I ran: > > $ ../../alpha-linux-user/qemu-alpha -strace hello-alpha > 17682 write(1,0,536871368) = -1 errno=14 (Bad address) > 17682 exit(0)
There's a problem with the current implementation of mmap in linux-user such that it can return addresses that are outside the "valid" address space of the guest. I have a patch sequence that fixes this, but it's not terribly clean and has bad worst-case performance so I havn't bothered submitting it. r~