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

Bug#433874: marked as done (mklibs: strips older versions of symbols that can still be needed)

Your message dated Mon, 01 Oct 2007 10:03:12 +0000
with message-id <E1IcI7M-0000TL-N4@ries.debian.org>
and subject line Bug#433874: fixed in mklibs 0.1.25
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: mklibs
Version: 0.1.24
tags: d-i

Test runs using current daily builds for sparc and alpha are showing the 
following error:
   udevd: relocation error: udevd: symbol snprintf, version GLIBC_2.0 not
          defined in file libc.so.6 with link time reference

Turns out that on some arches, libc contains two versions of snprintf:
$ readelf -a /lib/libc.so.6 | grep " sprintf@"
   170: 0011cf60    48 FUNC    GLOBAL DEFAULT   10 sprintf@GLIBC_2.0
   171: 00053df8    48 FUNC    GLOBAL DEFAULT   10 sprintf@@GLIBC_2.4

And udev is still using the old one:
$ readelf -a /sbin/udevd | grep " sprintf@"
   110: 0002e600    48 FUNC    GLOBAL DEFAULT  UND sprintf@GLIBC_2.0 (2)

However, after library stripping, only the new version is included:
$ readelf -a tmp/sparc64_netboot-2.6/tree/lib/libc.so.6 | grep " sprintf@"
   933: 0003627c    48 FUNC    GLOBAL DEFAULT   10 sprintf@@GLIBC_2.4

It turns out that this can be resolved by including the version when 
calling gcc, i.e. using '-usprintf@GLIBC_2.0 -usprintf@@GLIBC_2.4'.

After manually stripping libc using that as parameters, I got:
$ readelf -a libc.so.6-stripped | grep " sprintf@"
   724: 0000d614    48 FUNC    GLOBAL DEFAULT   10 sprintf@GLIBC_2.0
   725: 00019d94    48 FUNC    GLOBAL DEFAULT   10 sprintf@@GLIBC_2.4

Note that binNMUs for udev have been scheduled to resolve this issue for 
affected architectures, but maybe a structural solution for this issue 
should be implemented in mklibs.

Attachment: pgpDXIxu9u_xu.pgp
Description: PGP signature

--- End Message ---
--- Begin Message ---
Source: mklibs
Source-Version: 0.1.25

We believe that the bug you reported is fixed in the latest version of
mklibs, which is due to be installed in the Debian FTP archive:

  to pool/main/m/mklibs/mklibs-copy_0.1.25_powerpc.deb
  to pool/main/m/mklibs/mklibs_0.1.25.dsc
  to pool/main/m/mklibs/mklibs_0.1.25.tar.gz
  to pool/main/m/mklibs/mklibs_0.1.25_all.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 433874@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Bastian Blank <waldi@debian.org> (supplier of updated mklibs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Mon, 01 Oct 2007 11:53:53 +0200
Source: mklibs
Binary: mklibs mklibs-copy
Architecture: source all powerpc
Version: 0.1.25
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Bastian Blank <waldi@debian.org>
 mklibs     - Shared library reduction script
 mklibs-copy - Shared library reduction script
Closes: 433874
 mklibs (0.1.25) unstable; urgency=low
   * Support symbol versions. (closes: #433874)
   * Make it possible to force libraries.
 46557ad8d746b03b9a155b4c4e2bc558 741 devel optional mklibs_0.1.25.dsc
 ec9a537aec59033076fc6bec5ba8199c 115905 devel optional mklibs_0.1.25.tar.gz
 27dbbbc5068ad4e50bebc520185946a5 48342 devel optional mklibs-copy_0.1.25_powerpc.deb
 7c3ecad69177a3373a08398d7edbad34 11812 devel optional mklibs_0.1.25_all.deb

Version: GnuPG v1.4.6 (GNU/Linux)


--- End Message ---

Reply to: