tech-userlevel archive

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

Re: spurious obsolete markings for shlibs



On Tue, Jun 10, 2008 at 03:51:29PM -0400, Greg Troxel wrote:
  | In src/distrib/sets/lists/base/shl.elf on netbsd-4, several libraries
  | are listed as obsolete, but this removes the only major version of a
  | library, breaking old binaries.  The following diff would pull up parts
  | of the changes from 1.135-1.140 along the head.  Does anyone object to
  | me submitting a pullup request for netbsd-4?

I agree that we should fix this on the netbsd-4 (and possibly netbsd-3
branches).

I think we can continue to mark the lib<foo>.so variants
as "obsolete", since they're just used for (compile-time) linking.

There may be related changes required for base/shl.mi and base/mi.

Thanks for catching this,
Luke.


  | 
  | Index: shl.elf
  | ===================================================================
  | RCS file: /cvsroot/src/distrib/sets/lists/base/shl.elf,v
  | retrieving revision 1.125.2.1
  | diff -u -p -u -0 -r1.125.2.1 shl.elf
  | --- shl.elf 22 Jul 2007 18:44:30 -0000      1.125.2.1
  | +++ shl.elf 10 Jun 2008 19:20:07 -0000
  | @@ -2 +2,11 @@
  | -# Note: libtermcap and libtermlib are hardlinked and share the same 
version.
  | +#
  | +# Note:    Do not mark "old" major and major.minor shared libraries as
  | +#  "obsolete"; just remove the entry, as third-party applications
  | +#  may be linked against the old major shared library, and
  | +#  that is a symlink to the old major.minor shared library.
  | +#  e.g., "lib<name>.so.<N>" and "lib<name>.so.<N>.<M>"
  | +#  Exceptions to this rule may include shared libraries that
  | +#  are dlopen()ed at run-time, such as extra locales, etc.
  | +#
  | +# Note:    libtermcap and libtermlib are hardlinked and share the same 
version.
  | +#
  | @@ -78 +87,0 @@
  | -./usr/lib/libamu.so.2                              base-obsolete           
obsolete
  | @@ -92 +100,0 @@
  | -./usr/lib/libcdk.so.1                              base-obsolete           
obsolete
  | @@ -126 +133,0 @@
  | -./usr/lib/libkadm.so.5                             base-obsolete           
obsolete
  | @@ -133,2 +139,0 @@
  | -./usr/lib/libkdb.so                                base-obsolete           
obsolete
  | -./usr/lib/libkdb.so.5                              base-obsolete           
obsolete
  | @@ -136 +140,0 @@
  | -./usr/lib/libkrb.so.6                              base-obsolete           
obsolete
  | @@ -139,2 +142,0 @@
  | -./usr/lib/libkstream.so                            base-obsolete           
obsolete
  | -./usr/lib/libkstream.so.2                  base-obsolete           obsolete

Attachment: pgpXkt2DfVAUr.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index