bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/13802] New: ld testsute failure: comm-data.exp Common symbol ove


From: hp at sourceware dot org
Subject: [Bug ld/13802] New: ld testsute failure: comm-data.exp Common symbol override test; referred common symbol not UNDefined
Date: Mon, 05 Mar 2012 05:31:21 +0000

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: address@hidden
        ReportedBy: address@hidden
    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.



reply via email to

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