bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/20649] New: [MIPS] Can't find matching LO16 reloc


From: james410 at cowgill dot org.uk
Subject: [Bug gas/20649] New: [MIPS] Can't find matching LO16 reloc
Date: Thu, 29 Sep 2016 15:20:14 +0000

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

            Bug ID: 20649
           Summary: [MIPS] Can't find matching LO16 reloc
           Product: binutils
           Version: 2.27
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: james410 at cowgill dot org.uk
  Target Milestone: ---

Created attachment 9540
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9540&action=edit
src.cpp

Debian bug: https://bugs.debian.org/834147
Moved from GCC: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77300

When compiling the attached testcase with:
 mipsel-linux-gnu-g++-6 -O2 -fPIC src.cpp

I get:
/usr/lib/gcc-cross/mipsel-linux-gnu/6/../../../../mipsel-linux-gnu/bin/ld:
/tmp/ccqVuMV3.o: Can't find matching LO16 reloc against
`_ZN1HIiE5m_fn4ERK1G.isra.1' for R_MIPS_GOT16 at 0xcc in section
`.text._ZN1HIiE5m_fn5ERK1G[_ZN1HIiE5m_fn5ERK1G]'

Originally I thought this was a bug in how GCC generates GOT16 relocations but
it turns out it's probably a bug in GAS instead.

See the GCC bug for more information.

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