Re: [Qemu-devel] why does qemu i386 userspace emulation crashes when pthread used?

2011-04-22 Thread Yale Zhang
I have found the problem and fix. NEW_STACK_SIZE for clone() should be increased from the default 16384 (x86_64) to 256 KiB. On Tue, Apr 19, 2011 at 6:33 PM, Yale Zhang wrote: > Hi. I'm want to run some pthread programs using qemu userspace emulation > (target=i386, host=x86_64,ar

[Qemu-devel] why does qemu i386 userspace emulation crashes when pthread used?

2011-04-19 Thread Yale Zhang
Hi. I'm want to run some pthread programs using qemu userspace emulation (target=i386, host=x86_64,arm), but see NPTL support isn't supported for the i386 target. I have applied a patch from here http://patchwork.ozlabs.org/patch/45206/ and used it to run a simple pthread fork, join program. The pr

[Qemu-devel] why is NPTL support not enabled for x86, x86_64?

2011-04-14 Thread Yale Zhang
Hi. I want to run wine inside qemu userspace (host = arm, target = x86), but it doesn't function due to lack of NPTL (native posix thread library) support. I tried turning it on by editing configure and trying it on a simple pthread program, but it crashes. Why is NPTL not supported on x86 or x86_6

[Qemu-devel] Project: x86 to ARM binary translator

2011-04-01 Thread Yale Zhang
Fellow developers, I'm thinking of starting a VM project to allow running x86 Windows apps on ARM Android. This will obviously involve binary translation. I've read about QEMU's tiny code generator and think for a usable experience, the intermediate micro-op representation will have to be abando