Skip to contentSkip to conversation

target-ppc/linux-user: NPTL support

PATCH Laurent Vivier 2 participants 2 messages Jun 10, 2009

lore
Share & tools
lore
#0 lore raw
Quoted 10 lines
Quoted 7 lines · Daniel Jacobowitz
Quoted 5 lines

Hmm. According to this mail it used to work in the non-NPTL case:

http://osdir.com/ml/emulators.qemu/2004-02/msg00162.html

Or have I missed something?

Oh, are you using binfmt_misc? That's different...

Quoted 8 lines

Sorry, I forgot to mention it. I did a

echo ":qemu-ppc:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x 00\x14:\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfb\xff \xff\xff:/usr/bin/qemu-ppc:" > /proc/sys/fs/binfmt_misc/register

And the a test binary using fork() works fine as well:

[...]

The problem is not with fork() but with exec().

Laurent

Signature · 3 lines
--------------------- [email protected]  ---------------------
"Tout ce qui est impossible reste à accomplir"    Jules Verne
"Things are only impossible until they're not" Jean-Luc Picard
#1 lore raw
Quoted 4 lines · Laurent Vivier
Quoted 1 line

And the a test binary using fork() works fine as well:

[...]

The problem is not with fork() but with exec().

Yes, but as I showed in the other mail stat() has some weird behaviour as well. I just noticed this all when I wanted to see if qemu-ppc can execute a native gcc, where it failed to find cc1, which was - of course
- there.