LWN.net Logo

On breaking things

On breaking things

Posted Nov 26, 2010 11:44 UTC (Fri) by cortana (subscriber, #24596)
In reply to: On breaking things by mrshiny
Parent article: On breaking things

> No, only statically linked programs are NOT affected by the change in Glibc.

Even ones that make use of NSS modules?


(Log in to post comments)

On breaking things

Posted Nov 26, 2010 13:34 UTC (Fri) by mrshiny (subscriber, #4266) [Link]

I couldn't answer that question, I don't know enough about it. But by definition, statically-linked libraries don't get upgraded, so your old statically-linked apps with hidden bugs won't suddenly find that those bugs are now active once glibc is upgraded for the rest of the system.

On breaking things

Posted Nov 26, 2010 20:00 UTC (Fri) by oak (subscriber, #2786) [Link]

You can't do completely statically linked programs with Glibc unless they're really simple. There are several parts in Glibc (like NSS) which load code dynamically.

With e.g. C-libraries intended for embedded devices like uClibc, it's a bit easier.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds