Subject: Re: COMPAT_LINUX/powerpc: mmap'ing dynamic libraries
To: None <tech-kern@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-kern
Date: 01/08/2001 18:12:38
In article <1emx5u7.1tp0lkd16b9pjhM@[10.0.12.137]>,
Emmanuel Dreyfus <p99dreyf@criens.u-psud.fr> wrote:

>What I see here is that Linux's ld.so was successfully launched, and it
>successfully found the library we need. But it seems we still have a
>problem when mmap'ing the library in memory. I assume I now have to work
>on mmap(). Anyone can tell me what can possibly happen here?

mmap could be the problem here. I would try to see if a statically linked
mmap test works as expected.

>Another problem: I never expected this to happen:
>   171 arg.dyn  EMUL  "linux"
>   171 arg.dyn  RET   olduname -1 errno -2 No such file or directory
>
>This is what I expected:
>   171 arg.dyn  EMUL  "linux"
>   171 arg.dyn  RET   execve JUSTRETURN

Hmm, new syscall reorg related lossage?

>Any idea for this? If it helps, I can submit the new patches in PR
>kern/11857...

christos