bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/12618] New: Can't resolve difference between symbol and start o


From: sutefan at aon dot at
Subject: [Bug gas/12618] New: Can't resolve difference between symbol and start of its own section
Date: Tue, 29 Mar 2011 16:07:34 +0000

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

           Summary: Can't resolve difference between symbol and start of
                    its own section
           Product: binutils
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: address@hidden
        ReportedBy: address@hidden


Created attachment 5339
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5339
Preprocessed source to reproduce build error

I think I've hit a bug in recent binutils compiling eglibc 2.13 for generic
i686-unknown-linux-gnu (with multi-arch support enabled). At some point in the
build it stops with:

../sysdeps/i386/i686/multiarch/strcmp.S: Assembler messages:
../sysdeps/i386/i686/multiarch/strcmp.S:90: Error: can't resolve `.text' {.text
section} - `strcmp' {.text section}

>From what I know, it tries to compute the difference between the address of the
symbol "strcmp" (in the .text section) and the start of the .text section but
fails. Even if there where multiple sections named .text this should work, I
presume. 

The error does not occur with earlier versions of binutils (tested with
2.19.51.0.14 and 2.20.51.0.12). The error does occur with 2.21.51.0.7.

The file in question is attached (as preprocessed source), and the error should
be reproducable with something like

i686-unknown-linux-gnu-as strcmp.s

If you need more information to investigate, please let me know.

-- 
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]