Re: rpm static link [was Re: ESR: Goodbye Fedora]

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

 



On Wed, 21 Feb 2007 19:57:02 -0500
Matthew Miller <mattdm@xxxxxxxxxx> wrote:

> On Wed, Feb 21, 2007 at 04:48:22PM -0800, Michael A Peters wrote:
> > I do think rpm should be statically linked.
> 
> At the time, there was a solid technical reason for not doing it. (NPTL
> transition growing pains.) At this point, it might be worth revisiting.
> However, it doesn't necessarily gain you much -- if your system is that
> screwed up, booting the install CD in rescue mode is usually a better
> choice.

And actually there can be other problems as well. Many of the insane
things glibc does have rendered static linking absolutely impossible.
For instance, build an app that uses any of the getpw*() library functions,
static link it, then try to run it.

All the pam stuff down in the bowels winds up dlopening various authentication
libraries which have dependencies on glibc which drag in the libc.so file
which gives you both static and dynamic versions of things like malloc()
trying to run at the same time in the same program. Quickly falls down
and goes boom :-).

(This may not actually be the exact thing I saw, but the idea was like this).

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux