Static linking considered harmful
Arjan van de Ven
arjan at fenrus.demon.nl
Wed Nov 22 10:34:14 UTC 2006
On Wed, 2006-11-22 at 11:24 +0100, Patrice Dumas wrote:
> On Wed, Nov 22, 2006 at 05:08:00AM -0500, Jakub Jelinek wrote:
> > Hi!
> >
> > We should more proactively discourage static linking in FC7+, for
> > reasons for that see
> > http://people.redhat.com/drepper/no_static_linking.html
> >
> > Removing libc.a would be most effective, but I'm afraid we still need
> > a handful of statically linked binaries for boot time initialization and
> > system recovery utilities.
>
> Not only. There are cases when all those issues are moot, a prominent one
> being for numerical models. Compiling models statically makes it possible
> to run them on any other linux (including different fedora version) box
> without recompiling
actually static linking DECREASES that portability !!
More information about the fedora-devel-list
mailing list