Article View: lists.linux.epic.announce
Article #3Re: What needs to be recompiled when upgrading to 2.1?
From: Cristian Gafton
Date: Mon, 11 Jan 1999 00:00
Date: Mon, 11 Jan 1999 00:00
44 lines
3368 bytes
3368 bytes
On Fri, 8 Jan 1999, Andreas Jaeger wrote: > 2) If I compile my own binaries against glibc 2.1, all the other > libraries I use must be linked against glibc 2.1, too. > a) Is this really correct? To my experience, no, you should not need to do this, with one notable exception though: all the libs that are based or depend on libio will need to be recompiled. While doing the upgrade on my system I had to recompile only ncurses and slang to get things to work. > b) Can I recompile all libraries and will my old binaries continue > to work, or should these libraries have a different major/minor > number? You can do that, again, for everything that does not depend on libio. It is the changes to the libio that are bringing us to the next subject, which is... > 3) What's the issue with glibc-compat-2.0.10*? In what situations is > it needed? Well, older binaries that were linked statically against glibc 2.0 will reference the older nss modules (libnss_files.so.1 instead of libnss_files.so.2). Also, the old glibc-2.0 compiled static libraries (libfoo.a) which happen to depend on the older libio behavior will be broken by the glibc 2.1 upgrade. The idea is to produce a libcompat.a that people will be able to use to link in if they want to compile a static library generated against glibc 2.0 into a program on a glibc 2.1 system. You should just add -lcompat and you should be fine. Of course this does not work yet, i am working on it, my goal is to make it possible for example to use Oracle's static .a libs to develop things on a glibc 2.1 system. I am just fighting my way through detecting the incompatibilities and why things break... Cristian -- ---------------------------------------------------------------------- Cristian Gafton -- gafton@redhat.com -- Red Hat Software, Inc. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ UNIX is user friendly. It's just selective about who its friends are.
Technical Details
Message-ID:
<cistron.Pine.LNX.4.05.9901110353590.6237-100000@shefu.redhat.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 16b908,2c23327011a1790e,start X-Google-Attributes: gid16b908,public X-Google-Thread: 154616,2c23327011a1790e,start X-Google-Attributes: gid154616,public X-Google-Thread: 13801e,2c23327011a1790e,start X-Google-Attributes: gid13801e,public X-Google-Thread: 14c882,2c23327011a1790e,start X-Google-Attributes: gid14c882,public X-Google-Thread: 166705,2c23327011a1790e,start X-Google-Attributes: gid166705,public From: Cristian Gafton <gafton@redhat.com> Subject: Re: What needs to be recompiled when upgrading to 2.1? Date: 1999/01/11 Message-ID: <cistron.Pine.LNX.4.05.9901110353590.6237-100000@shefu.redhat.com> X-Deja-AN: 431200383 Distribution: cistron X-Orig-Date: Mon, 11 Jan 1999 04:02:00 -0500 (EST) Approved: news@news.cistron.nl X-Orig-To: ,libc-alpha@cygnus.com X-Authentication-Warning: shefu.redhat.com: gafton owned process doing -bs Content-Type: TEXT/PLAIN; charset=US-ASCII X-Complaints-To: abuse@cistron.nl X-Trace: enterprise.cistron.nl 916053341 16086 195.64.65.30 (11 Jan 1999 11:15:41 GMT) Organization: Cistron Internet Services B.V. Mime-Version: 1.0 NNTP-Posting-Date: 11 Jan 1999 11:15:41 GMT Newsgroups: lists.linux.epic.announce,xlists.libc-hacker,cistron.lists,lists.netwinder.announce,lists.netwinder.devel X-Loop: cistron-gw