[LLVMbugs] [Bug 17169] New: Using large code model causes: error: relocation R_PPC64_TOC16_LO_DS not a multiple of 4

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Sep 9 08:37:52 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=17169

            Bug ID: 17169
           Summary: Using large code model causes: error: relocation
                    R_PPC64_TOC16_LO_DS not a multiple of 4
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: PowerPC
          Assignee: unassignedbugs at nondot.org
          Reporter: hfinkel at anl.gov
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11172
  --> http://llvm.org/bugs/attachment.cgi?id=11172&action=edit
bugpoint reduced test case

If you try to compile the attached test case using the large code model,
linking fails with:
error: relocation R_PPC64_TOC16_LO_DS not a multiple of 4

clang -mcmodel=large -shared -o /tmp/t.so bugpoint-reduced-simplified.ll

-- 
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/20130909/a0d6572f/attachment.html>


More information about the llvm-bugs mailing list