Re: Static linking considered harmful

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jakub Jelinek wrote:
> If you want bit-reproduceable results, you can equally well
> just stick the shared libraries you need into the same directory as the
> program and run it as
> ./ld-linux*.so.2 --library-path . ./the_numerical_program arguments
> it will cost you just a few extra lines in the Makefile, IMHO not a big
> deal.

Yes, the primary outputs will be the same.  But the total user interface
will be different.  The process name (revealed by ps, top, etc.) will be
ld-linux*.so.2 instead of the_numerical_program.  So existing scripts
that monitor (or get out of the way of) the_numerical_program won't find it;
killall won't work; oprofile will group all such programs together
as ld-linux instead of as separate numerical programs, etc.  This
"other stuff" is important to users and administrators.

-- 

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux