<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - LTO ARM thumb relocation overflow in R_ARM_THM_JUMP11"
   href="https://bugs.llvm.org/show_bug.cgi?id=36542">36542</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>LTO ARM thumb relocation overflow in R_ARM_THM_JUMP11
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: ARM
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>chh@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>