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

View: New views
2 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



Bug#554852: marked as done ([dpkg-dev] Please blacklist end@Base)

by Debian Bug Tracking System :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Your message dated Sat, 7 Nov 2009 08:32:11 +0100
with message-id <200911070832.11172.peter.fritzsche@...>
and subject line Re: [dpkg-dev] Please blacklist end@Base
has caused the Debian Bug report #554852,
regarding [dpkg-dev] Please blacklist end@Base
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@...
immediately.)


--
554852: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554852
Debian Bug Tracking System
Contact owner@... with problems

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



Peter Fritzsche wrote:

> 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
Please ignore it. It is a bug in binutils-gold 2.20-2 and need not be fixed by
dpkg-dev. See http://sourceware.org/bugzilla/show_bug.cgi?id=10876 for more
informations.

Best regards,
        Peter