Comment 32 for bug 739785

Revision history for this message
Artyom (theartlav) wrote : Re: qemu-i386 user mode on ARMv5 host fails (bash: fork: Invalid argument)

Further research shown that the issue is that NPTL (Native Posix Threads) is not supported for i386 user mode emulation.
That causes the described issue in binaries compiled with NPTL (most modern ones).

One way to fix this that worked for me is a patch from here:
http://patchwork.ozlabs.org/patch/45206

I was able to chroot into i386 on mipsel host with this one, and it mostly worked, no problems running other programs from bash.