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

             Bug #: 13802
           Summary: ld testsute failure: comm-data.exp Common symbol
                    override test; referred common symbol not UNDefined
           Product: binutils
           Version: 2.23 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassig...@sourceware.org
        ReportedBy: h...@sourceware.org
    Classification: Unclassified
            Target: arm-unknown-linux-gnueabi


Build binutils CVS HEAD as per 2012-03-05 for (cross to)
--target=arm-unknown-linux-gnueabi.  Do "make check".  Observe:

Running /home/hp/binutils/src/ld/testsuite/ld-elf/comm-data.exp ...
FAIL: Common symbol override test

It looks like arm-unknown-linux-gnueabi for a symbol defined in a DSO linked-to
and referred to in the DSO being built, emits the symbol as (both in .dynsym
and .symtab):
     6: 00010298     4 OBJECT  GLOBAL DEFAULT    8 foo
instead of the expected UNDefined symbol:
 +[0-9]+: +0+ +0 +OBJECT +GLOBAL +DEFAULT +UND +foo

I vaguely recall that the ARM ABI has some unorthodoxisms in the handling of
common symbols, so I'm not sure whether the test-case needs to be adjusted or
skipped or if there indeed is an actual linker bug exposed by the test-case.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

Reply via email to