[llvm-bugs] [Bug 36542] New: LTO ARM thumb relocation overflow in R_ARM_THM_JUMP11

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Feb 27 12:00:51 PST 2018


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

            Bug ID: 36542
           Summary: LTO ARM thumb relocation overflow in R_ARM_THM_JUMP11
           Product: libraries
           Version: trunk
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: ARM
          Assignee: unassignedbugs at nondot.org
          Reporter: chh at google.com
                CC: llvm-bugs at lists.llvm.org

This problem can be reproduced with LLVM svn.r321707 and not in svn.r321706.
To reproduce, build llvm.321707 and run the attached script:

  ./run.sh |& grep -v 'undefined'

The following link errors are only from 321707, not in 321706:
  system/core/healthd/healthd_common.cpp:131: error: relocation overflow in
R_ARM_THM_JUMP11
  system/core/healthd/BatteryPropertiesRegistrar.cpp:91: error: relocation
overflow in R_ARM_THM_JUMP11

To reduce test case data, large .so files are not included.
So just ignore the linker error about undefined symbols.

This test case is part of Android Open Source Project,
which uses clan/llvm and gnu linker:
  -fuse-ld=`pwd`/arm-linux-androideabi-ld

-- 
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/20180227/75605ae9/attachment.html>


More information about the llvm-bugs mailing list