[Bug gold/10876] New: Creates exported symbol end@Base

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

[Bug gold/10876] New: Creates exported symbol end@Base

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've tested many packages with gold linker and noticed that it creates a
unknown symbol for every library I tested. I don't know for what it is but
either dpkg-gensymbols has to stop to add it to the symbols file or binutils-
gold has to stop to export it as symbol that looks like it was exported by the
user.

Maybe this can be changed or documented somewhere so Debian knows what to do
with that symbol.

Example output from zlib:

dpkg-gensymbols: warning: debian/lib32z1/DEBIAN/symbols doesn't match
completely debian/lib32z1.symbols                                                                                                  
--- debian/lib32z1.symbols (lib32z1 amd64)                                                                                                                                                                
+++ dpkg-gensymbolsPn_sJI       2009-10-31 11:08:12.678048010 +0100                                                                                                                                      
@@ -26,6 +26,7 @@                                                                                                                                                                                        
  deflateSetDictionary@Base 1:1.1.4                                                                                                                                                                      
  deflateSetHeader@... 1:1.2.2                                                                                                                                                                    
  deflateTune@... 1:1.2.2.3                                                                                                                                                                      
+ end@Base 1:1.2.3.3.dfsg-15                                                                                                                                                                              
  get_crc_table@Base 1:1.1.4                                                                                                                                                                              
  gzclearerr@... 1:1.2.0.2                                                                                                                                                                      
  gzclose@Base 1:1.1.4

Downstream bug is http://bugs.debian.org/553435

--
           Summary: Creates exported symbol end@Base
           Product: binutils
           Version: 2.20
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
        AssignedTo: ian at airs dot com
        ReportedBy: robert dot wohlrab at gmx dot de
                CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=10876

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils

[Bug gold/10876] Creates exported symbol end@Base

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


------- Additional Comments From robert dot wohlrab at gmx dot de  2009-11-06 22:53 -------
If I check with objecdump it seems to be a duplicate of _end.

$ 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

Is this the case or has it extra functions. There is currently a request that
dpkg-gensymbols marks it as 'ignore me' symbol like _end in
http://bugs.debian.org/554852 .

Maybe you can add more informations about it here and then close the bug.

--


http://sourceware.org/bugzilla/show_bug.cgi?id=10876

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils

[Bug gold/10876] Creates exported symbol end@Base

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2009-11-07 02:02 -------
Subject: Bug 10876

CVSROOT: /cvs/src
Module name: src
Changes by: ian@... 2009-11-07 02:02:29

Modified files:
        gold           : ChangeLog defstd.cc

Log message:
        PR 10876
        * defstd.cc (in_segment): Set only_if_ref true for "end".

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/ChangeLog.diff?cvsroot=src&r1=1.349&r2=1.350
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/defstd.cc.diff?cvsroot=src&r1=1.7&r2=1.8



--


http://sourceware.org/bugzilla/show_bug.cgi?id=10876

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils

[Bug gold/10876] Creates exported symbol end@Base

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2009-11-07 02:03 -------
Subject: Bug 10876

CVSROOT: /cvs/src
Module name: src
Branch: binutils-2_20-branch
Changes by: ian@... 2009-11-07 02:02:57

Modified files:
        gold           : ChangeLog defstd.cc

Log message:
        PR 10876
        * defstd.cc (in_segment): Set only_if_ref true for "end".

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_20-branch&r1=1.281.2.11&r2=1.281.2.12
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/defstd.cc.diff?cvsroot=src&only_with_tag=binutils-2_20-branch&r1=1.6.8.1&r2=1.6.8.2



--


http://sourceware.org/bugzilla/show_bug.cgi?id=10876

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils

[Bug gold/10876] Creates exported symbol end@Base

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


------- Additional Comments From ian at airs dot com  2009-11-07 02:04 -------
Thanks for the report.  It's a bug.  Sorry about that.  Now fixed.

--
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=10876

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils