Static linking considered harmful

Andrew Haley aph at redhat.com
Wed Nov 22 10:39:50 UTC 2006


Avi Kivity writes:
 > 
 > That would prevent static linking not only for Fedora apps, but also for 
 > user applications built on Fedora.

Yep.

 > I don't see a reason to prevent users from using static linking, 

See http://people.redhat.com/drepper/no_static_linking.html,
especially

# fixes (either security or only bug) have to be applied to only one
place: the new DSO(s). If various applications are linked statically,
all of them would have to be relinked. By the time the problem is
discovered the sysadmin usually forgot which apps are built with the
problematic library.

Andrew.




More information about the fedora-devel-list mailing list