[llvm-bugs] [Bug 31109] New: lld fails with "relocation R_X86_64_32 out of range"

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Nov 21 17:55:23 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=31109

            Bug ID: 31109
           Summary: lld fails with "relocation R_X86_64_32 out of range"
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: llvm at inglorion.net
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

I tried to link a large executable with lld, and it failed, emitting a lot of
"relocation R_X86_64_32 out of range errors" and requiring to be killed with
SIGKILL. Using a different linker, I was able to successfully create a working
executable. The executable has a large (more than 2**32 bytes) .debug_info
section in it.

What I did: Compiled Chromium with profile-guided optimization and ThinLTO. The
instrumented build succeeded and allowed me to gather profile data. Using the
profile data to create an optimized build, the build succeeded up to the link
step, which failed with relocation out of range errors.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161122/a6897551/attachment.html>


More information about the llvm-bugs mailing list