Static linking considered harmful

Ulrich Drepper drepper at redhat.com
Thu Nov 23 07:32:09 UTC 2006


Florian La Roche wrote:
> Then we should not remove too many static libs. Some are good candidates
> to only keep the real core (LSB?) libs dynamically loaded.

Why?  This makes no sense.  You have to provide arguments for each .a 
file.  As I said, you cannot even build a graphical application without 
libdl.  And all server apps are security relevant and should never use 
static linking for anything which doesn't come with the package.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖




More information about the fedora-devel-list mailing list