From: Mike Frysinger <vapier@gentoo.org>
To: Aurelien Jarno <aurelien@aurel32.net>
Cc: "Carlos O'Donell" <carlos@systemhalted.org>,
debian-hppa@lists.debian.org, debian-glibc@lists.debian.org,
"linux-parisc" <linux-parisc@vger.kernel.org>
Subject: Re: hppa nptl switch
Date: Tue, 1 Sep 2009 20:03:47 -0400 [thread overview]
Message-ID: <200909012003.49114.vapier@gentoo.org> (raw)
In-Reply-To: <4A9D42C3.70103@aurel32.net>
[-- Attachment #1: Type: Text/Plain, Size: 1759 bytes --]
On Tuesday 01 September 2009 11:50:27 Aurelien Jarno wrote:
> Carlos O'Donell a écrit :
> > On Tue, Sep 1, 2009 at 2:08 AM, Aurelien Jarno<aurelien@aurel32.net>
wrote:
> >> Frans Pop a écrit :
> >>> Carlos O'Donell wrote:
> >>>>> In practice it shouldn't be problem at all.
> >>>>> Debian should make sure that binary/library compiled
> >>>>> against NPTL-hppa-glibc will require NPTL-hppa-glibc
> >>>>> by proper Depends: line like "libc6 (>= 2.10)".
> >>>>
> >>>> Does every package have to do this? I'm not very familiar with all the
> >>>> packaging requirements.
> >>>
> >>> It is something that should automatically get done correctly as long as
> >>> the libc-dev package defines the minimum version that way.
> >>>
> >>> The mechanism that determines this is in
> >>> /var/lib/dpkg/info/libc6.shlibs. Currently this has lines like:
> >>> libc 6 libc6 (>= 2.9)
> >>
> >> No, as glibc uses symbols files, this file is actually not used.
> >> Nevertheless it is still possible to resolve all symbols to libc6 (>=
> >> 2.10).
> >
> > Once an application is rebuilt against a new libc, what prevents the
> > user from downgrading libc and breaking the application?
>
> If we make sure that the new programs are using symbols from version
> GLIBC_2.10, the program should refuse to start with a lower version of
> the glibc.
i think the question was one about packaging rather than general use ? if you
build a package against a newer glibc version but it only uses older symbols,
then in theory it should work fine with older glibc versions. if the symbol
changes between versions, then it should have corresponding symbol version
changes as well (which will automatically be recorded in the binary).
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2009-09-02 0:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.62.0908181940440.7856@sci.felk.cvut.cz>
[not found] ` <119aab440908181851i174315c6lebacea921046bbb0@mail.gmail.com>
[not found] ` <20090819124816.GC2517@hall.aurel32.net>
2009-08-31 5:01 ` hppa nptl switch Carlos O'Donell
2009-08-31 8:16 ` Petr Salinger
2009-08-31 15:10 ` Carlos O'Donell
2009-08-31 16:46 ` Frans Pop
2009-08-31 16:53 ` Carlos O'Donell
2009-09-01 6:08 ` Aurelien Jarno
2009-09-01 13:55 ` Carlos O'Donell
2009-09-01 14:40 ` Thibaut VARENE
2009-09-01 15:50 ` Aurelien Jarno
2009-09-02 0:03 ` Mike Frysinger [this message]
2009-09-02 14:09 ` Carlos O'Donell
2009-09-02 14:55 ` Aurelien Jarno
2009-09-02 15:24 ` Carlos O'Donell
2009-09-02 15:28 ` Aurelien Jarno
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200909012003.49114.vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=aurelien@aurel32.net \
--cc=carlos@systemhalted.org \
--cc=debian-glibc@lists.debian.org \
--cc=debian-hppa@lists.debian.org \
--cc=linux-parisc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).