This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

shlib versions changed on some archs


For some time, libthread_db.so.1 on amd64 had minimal symbols version
set to GLIBC_2.2.5 - just like any other glibc library on this platform.
But recently it changed and libthread_db.so.1 has GLIBC_2.1.3 and
GLIBC_2.2.3 versions while GLIBC_2.2.5 disappeared - causing
incompatibility with binaries built on older glibc (or at least broken
dependencies generated by rpm).

It's caused by this change:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/Makeconfig.diff?r1=1.294&r2=1.295&cvsroot=glibc

It causes that add-ons shlib-versions are processed before main
shlib-versions, which contains DEFAULT rules.
{linuxthreads,nptl}_db/shlib-versions (for libthread_db.so.1) doesn't
define any minimal versions.
After the above change, they come to shlib-versions.v before DEFAULT
rules, so defaults are not applied to linuxthreads and nptl libraries.

Versions.all fragment before the change (on amd64):

libthread_db {
  GLIBC_2.1.3 = GLIBC_2.2.5
  GLIBC_2.2.3 = GLIBC_2.2.5
  GLIBC_2.2.5
  GLIBC_2.3
  GLIBC_2.3.3
}

and after:

libthread_db {
  GLIBC_2.1.3
  GLIBC_2.2.3
  GLIBC_2.3
  GLIBC_2.3.3
}


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/
PLD Team        http://www.pld-linux.org/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]