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

Re: hppa nptl switch

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.

Aurelien Jarno                          GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net

Reply to: