Bug#554852: [dpkg-dev] Please blacklist end@Base

View: New views
1 Messages — Rating Filter:   Alert me  

Bug#554852: [dpkg-dev] Please blacklist end@Base

by Peter Fritzsche :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Package: dpkg-dev
Version: 1.15.4.1
Severity: wishlist

When compiling with binutils-gold a new symbol with the name end@Base is
added. It is currently unknown why it gets added and a request to get more
information about it was send to #553435 and forwarded to
http://sourceware.org/bugzilla/show_bug.cgi?id=10876

Could you consider to add this symbol to the blacklist file?

The initial idea to do so came Raphael Hertzog <hertzog@...> from
http://lists.debian.org/debian-devel/2009/11/msg00249.html


Test output with binutils-gold:
$ objdump -w -f -p -T -R /usr/lib/libxyz.so.0.0.0|grep 'end$'
00000000000108d8 g    D  *ABS*  0000000000000000  Base        end
00000000000108d8 g    D  *ABS*  0000000000000000  Base        _end

and with old binutils
$ objdump -w -f -p -T -R /usr/lib/libxyz.so.0.0.0|grep 'end$'
000000000020f860 g    D  *ABS*  0000000000000000  Base        _end


--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.31-1-amd64

Debian Release: squeeze/sid
  500 unstable        ftp.debian.org

--- Package information. ---
Depends                (Version) | Installed
================================-+-============
dpkg                 (>= 1.15.4) | 1.15.4.1
perl5                            |
perl-modules                     | 5.10.1-6
bzip2                            | 1.0.5-3
lzma                             | 4.43-14
patch                 (>= 2.2-1) | 2.5.9-5
make                             | 3.81-7
binutils                         | 2.20-2
libtimedate-perl                 | 1.1900-1


Recommends           (Version) | Installed
==============================-+-===========
gcc                            | 4:4.3.4-1
 OR c-compiler                 |
build-essential                | 11.4
fakeroot                       | 1.14.3
gnupg                          | 1.4.10-2
gpgv                           | 1.4.10-2


Suggests                (Version) | Installed
=================================-+-===========
debian-keyring                    | 2009.08.27
debian-maintainers                |





[0001-Blacklist-end-Base-symbol-generated-by-binutils-gold.patch]

From 3b5ec4f19e54674943d8e4a4f1fd7775b2634fc1 Mon Sep 17 00:00:00 2001
From: Raphael Hertzog <hertzog@...>
Date: Fri, 6 Nov 2009 22:29:31 +0100
Subject: [PATCH] Blacklist end@Base symbol generated by binutils-gold

Signed-off-by: Sven Eckelmann <sven.eckelmann@...>
---
 scripts/Dpkg/Shlibs/SymbolFile.pm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/scripts/Dpkg/Shlibs/SymbolFile.pm b/scripts/Dpkg/Shlibs/SymbolFile.pm
index 41e1702..b097054 100644
--- a/scripts/Dpkg/Shlibs/SymbolFile.pm
+++ b/scripts/Dpkg/Shlibs/SymbolFile.pm
@@ -54,6 +54,7 @@ my %blacklist = (
     '_PROCEDURE_LINKAGE_TABLE_' => 1, # sparc, alpha
     '_SDA2_BASE_' => 1, # powerpc
     '_SDA_BASE_' => 1, # powerpc
+    'end' => 1, # ALL
 );
 
 for (my $i = 14; $i <= 31; $i++) {
--
1.6.5.2