"Donald J . Maddox" wrote:
> The Linux 'ldd' program is, as I'm sure you know, just a shell
> script that tries to directly execute 'ld-linux.so.2' on the
> filename passed in argv to the script.  This doesn't work with our
> Linux emulation.  Apparently, ld-linux.so.2 is simply (and not too
> surprisingly) not recognized as an executable file.  While I'm
> surprised that this works on Linux, shouldn't our emulator emulate
> this behavior too?

It's not a matter of our emulator. The problem is that Linux allows the
execution of shared objects. Technically speaking this is wrong and our
ELF loader doesn't do that. We can change our ELF loader, but that would
propagate the bug to FreeBSD at large. I don't think we should do that.

I did make patches once. They're probably outdated, but there's a change
they apply:


WARNING: -stable probably represents 3.x (which makes -current represent

Marcel Moolenaar
  tel:  (408) 447-4222

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to