-
Introspection and debugging. The current ELF format is incredibly terse and challenging to make changes.
I imagine for instance, a much simpler way to make edits to symbol resolution that would maintain provenance and do away with LD_PRELOAD for systems such as Nix. -
Yes! Spack just merged this into their upstream for support for all binaries.
-
There is also support for $ORIGIN that we should use rather than absolute paths from /nix/store
using $ORIGIN and relative paths make all executables relocatable anywhere on the filesystem as long as the store tree moves with it.
I believe it would also allow re-use of binaries across different store installations.
4 Likes