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

Bug#499744: marked as done (mklibs patch for MIPS)



Your message dated Wed, 06 May 2009 12:02:05 +0000
with message-id <E1M1fp7-0008Gv-Hy@ries.debian.org>
and subject line Bug#499744: fixed in mklibs 0.1.27
has caused the Debian Bug report #499744,
regarding mklibs patch for MIPS
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
499744: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499744
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: mklibs
Tags: patch

This patch fixes a problem using mklibs for MIPS (discussed at 
<http://gcc.gnu.org/ml/gcc/2008-07/msg00099.html>).  The symbol 
__gnu_local_gp is defined by the linker for this configuration and so 
mklibs should ignore it being undefined.  I've only seen the problem for 
N32, though it might apply for other ABIs as well.  This problem is 
entirely independent of the problem of mklibs producing bad binaries for 
MIPS (bug 445507), which should probably have been fixed by the binutils 
patch <http://sourceware.org/ml/binutils/2008-07/msg00350.html>.

Index: src/mklibs.py
===================================================================
--- src/mklibs.py	(revision 55961)
+++ src/mklibs.py	(working copy)
@@ -415,9 +415,11 @@
     for obj in objects.values():
         for symbol in undefined_symbols(obj):
             # Some undefined symbols in libthread_db are defined in
-            # the application that uses it.
+            # the application that uses it.  __gnu_local_gp is defined
+            # specially by the linker on MIPS.
             if (not (re.search("libthread_db\.so", obj)
-                     and re.search("^ps_", str(symbol)))):
+                     and re.search("^ps_", str(symbol)))
+                and str(symbol) != "__gnu_local_gp@Base"):
                 debug(DEBUG_SPAM, "needed_symbols adding %s, weak: %s" % (symbol, symbol.weak))
                 needed_symbols[str(symbol)] = symbol
         libraries.update(library_depends(obj))

-- 
Joseph S. Myers
joseph@codesourcery.com



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

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:

mklibs-copy_0.1.27_i386.deb
  to pool/main/m/mklibs/mklibs-copy_0.1.27_i386.deb
mklibs_0.1.27.dsc
  to pool/main/m/mklibs/mklibs_0.1.27.dsc
mklibs_0.1.27.tar.gz
  to pool/main/m/mklibs/mklibs_0.1.27.tar.gz
mklibs_0.1.27_all.deb
  to pool/main/m/mklibs/mklibs_0.1.27_all.deb



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

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

Debian distribution maintenance software
pp.
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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 06 May 2009 13:56:04 +0200
Source: mklibs
Binary: mklibs mklibs-copy
Architecture: source all i386
Version: 0.1.27
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Bastian Blank <waldi@debian.org>
Description: 
 mklibs     - Shared library reduction script
 mklibs-copy - Shared library reduction script
Closes: 469070 499744 505025 508929 518088
Changes: 
 mklibs (0.1.27) unstable; urgency=low
 .
   [ Joey Hess ]
   * Apply patches from Joseph S. Myers (closes: #469070):
     - mklibs-readelf: Uninitialized data fix
     - mklibs-readelf: Endian fix
     - mklibs: Add --sysroot, to locate all libraries and other related input
       files relative to a specified root directory rather than /.
     - mklibs: Add --gcc-options and --libdir options as well.
     - mklibs: Correct diagnostic text when symbol cannot be found.
     - mklibs: Ignore missing symbols from libthread_db, which are defined
       in the application that uses it.
   * Document --root in the man page.
 .
   [ Frans Pop ]
   * Apply patches from Joseph S. Myers:
     - Ignore the fact that symbol __gnu_local_gp is undefined for mips as it
       is defined by the linker. Thanks to Joseph S. Myers. Closes: #499744.
   * Remove myself as uploader.
 .
   [ Martin Michlmayr ]
   * mklibs-readelf: add missing header to avoid build error with GCC 4.4.
     Closes: #505025.
 .
   [ Bastian Blank ]
   * Support file definitions in version requirements. Based on patch by Andrew
     Stubbs <ams@codesourcery.com>. (closes: #508929)
   * Various cleanups.
   * Ignore symbols with empty names. (closes: #518088)
Checksums-Sha1: 
 e7b3c9c88e570c512290cf905745d1b6e4821fb1 969 mklibs_0.1.27.dsc
 bbf12828d09af12df501b5a748ff544c2bf3e25a 113602 mklibs_0.1.27.tar.gz
 d0b6804b85de9a532a839edc717f5e590f8a31bc 12988 mklibs_0.1.27_all.deb
 c7106ccb17e136d678a9d677d9b3da16bdb89bc5 44700 mklibs-copy_0.1.27_i386.deb
Checksums-Sha256: 
 1d6722106dd092c22e9839b668ae1a7dfb29036a3322f61b993d7e6944041f93 969 mklibs_0.1.27.dsc
 9eb44b5106f4c0d243c3c28e9c7f0d21667a6207ea32b2508936591cbed2519d 113602 mklibs_0.1.27.tar.gz
 9827873656f4bc7f7e74857e9b8c8fee94d0a0c7ed1b460114c94b2ad0631d24 12988 mklibs_0.1.27_all.deb
 f4e91935144cff23f1e53e77562f0e85b795b42d0d38b3da24ed0701a21a28a0 44700 mklibs-copy_0.1.27_i386.deb
Files: 
 c0bfa4e721e2c755ec3bf37d884c146e 969 devel optional mklibs_0.1.27.dsc
 ce906873efcf84c401479e9c10279660 113602 devel optional mklibs_0.1.27.tar.gz
 c55b104408f866f03dde78c1f98cfc38 12988 devel optional mklibs_0.1.27_all.deb
 5769bcf8e7eb2e61d148f250d4affaa7 44700 devel optional mklibs-copy_0.1.27_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkoBevAACgkQLkAIIn9ODhHgRwCgwtG5By62ROiWiQlqHgLYPFX2
Qm4AoLIkyC1t1Q5C+ARLI81OMgk4ldEb
=L9ab
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: