bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/16979] New: gold fails to override built-in symbols


From: adar at cloudera dot com
Subject: [Bug gold/16979] New: gold fails to override built-in symbols
Date: Fri, 23 May 2014 00:34:37 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=16979

            Bug ID: 16979
           Summary: gold fails to override built-in symbols
           Product: binutils
           Version: 2.24
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ian at airs dot com
          Reporter: adar at cloudera dot com
                CC: ccoutant at google dot com

Created attachment 7612
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7612&action=edit
test case for symbol overriding

I've been trying to dynamically link tcmalloc into my application and was
troubled to see that sometimes the link didn't "take" (i.e. ldd revealed no
dependency on libtcmalloc.so and the built-in libc malloc was invoked by the
application). After debugging for a little while, I've produced a simple test
case showing the problem. When /usr/bin/ld is symlinked to ld.bfd, the test
passes. When it's symlinked to ld.gold, the test fails. This is how my binutils
package layout works (I'm running Ubuntu 14.04).

I'm not familiar enough with the details of linking to understand why it's
failing, but as gold is supposed to be a drop-in replacement for ld, I figured
this is a reasonable place to start.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]