<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 - Go bindings fail to compile on 32-bit ARM"
   href="https://bugs.llvm.org/show_bug.cgi?id=40426">40426</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Go bindings fail to compile on 32-bit ARM
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>8.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

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

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

        <tr>
          <th>Severity</th>
          <td>release blocker
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>aykevanlaethem@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>The Go bindings for LLVM fail to compile on a 32-bit ARM system (Raspberry Pi 3
with 32-bit Linux kernel).
On this system, the Go compiler (version 1.11) disallows [1 << 30] with an
error like the following:

    type [1073741824]_Ctype_uint larger than address space

The number of indices should never be this big anyway so can be lowered to (for
example) 1 << 16, even 1 << 8 is probably more than enough for all use cases
(it's the number of indices, not the range of them).

Note: I'm afraid I introduced this bug myself in
<a href="https://reviews.llvm.org/D53883">https://reviews.llvm.org/D53883</a>. I can write a fix if needed, even though
fixing it is trivial.
I marked it as release-blocker as it is a clear regression, please set it as a
normal bug if that is wrong.


Offending line:
<a href="https://github.com/llvm-mirror/llvm/commit/2c000da033ca03bf8ac5aa1c1b8a5fd5bcc5ecf5#diff-bc833bc845e04ff2763e528b30c5c900R1266">https://github.com/llvm-mirror/llvm/commit/2c000da033ca03bf8ac5aa1c1b8a5fd5bcc5ecf5#diff-bc833bc845e04ff2763e528b30c5c900R1266</a></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>