[Nix-dev] Nix purity and ld.so

Yury G. Kudryashov urkud.urkud at gmail.com
Wed Apr 4 20:51:57 CEST 2012


Hi!

What do you think about passing '-z nodeflib' everywhere (say, in `ld` 
wrapper)? As far as I understand, this will allow us to catch wrong RPATH's 
before somebody tries to launch the executable on a system with different 
glibc version. Another way is to patch C source of ld or ld.so.

Disclaimer: I'm not familair with gcc/glibc/binutils internals. I just 
wonder how to catch such hidden impurities.
-- 
Yury G. Kudryashov,
mailto: urkud at mccme.ru



More information about the nix-dev mailing list