[Nix-dev] Re: [Nix-commits] SVN commit: nix - 18468 - NicolasPierron - nixpkgs/branches/stdenv-updates/pkgs/lib

Ludovic Courtès ludo at gnu.org
Fri Nov 20 15:19:04 CET 2009


Hi,

Eelco Dolstra <e.dolstra at tudelft.nl>
writes:

> Ludovic Courtès wrote:
>
>> It’s the dynamic linker that actually parses the ELF file, etc., not the
>> kernel.  See ld.so(1) on a GNU system, for instance.
>
> The kernel also parses the ELF file because it has to get the ELF interpreter
> field and then load the dynamic linker (which is also an ELF executable).

Right, but ld.so all the hard work of finding NEEDED shared libraries,
resolving symbols, etc.

This is just to say that having ‘executableFormats’ as a field of the
‘kernel’ attribute set is inexact.

Thanks,
Ludo’.




More information about the nix-dev mailing list