<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 - 8.0.0 fails to build on linux/mips64el"
   href="https://bugs.llvm.org/show_bug.cgi?id=41894">41894</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>8.0.0 fails to build on linux/mips64el
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

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

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

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

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

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

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

        <tr>
          <th>Reporter</th>
          <td>sylvestre@debian.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>41221
          </td>
        </tr></table>
      <p>
        <div>
        <pre>In file included from
/<<PKGBUILDDIR>>/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_linux.cc:22:
/<<PKGBUILDDIR>>/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:343:72:
error: size of array 'assertion_failed__73' is negative
     typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1]
                                                                        ^
/<<PKGBUILDDIR>>/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:337:30:
note: in expansion of macro 'IMPL_COMPILER_ASSERT'
 #define COMPILER_CHECK(pred) IMPL_COMPILER_ASSERT(pred, __LINE__)
                              ^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_linux.cc:73:1:
note: in expansion of macro 'COMPILER_CHECK'
 COMPILER_CHECK(struct_kernel_stat_sz == sizeof(struct stat));
 ^~~~~~~~~~~~~~


Details can be found on:
<a href="https://reviews.llvm.org/D59702">https://reviews.llvm.org/D59702</a>
and fixed here:
<a href="https://reviews.llvm.org/rL360825">https://reviews.llvm.org/rL360825</a>

Without the patch:
<a href="https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-8&arch=mips64el&ver=1%3A8-4&stamp=1556705174&raw=0">https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-8&arch=mips64el&ver=1%3A8-4&stamp=1556705174&raw=0</a>


With the patch:
<a href="https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-8&arch=mips64el&ver=1%3A8-5&stamp=1557883106&raw=0">https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-8&arch=mips64el&ver=1%3A8-5&stamp=1557883106&raw=0</a></pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [meta] 8.0.1 Release Blockers"
   href="https://bugs.llvm.org/show_bug.cgi?id=41221">Bug 41221</a>] [meta] 8.0.1 Release Blockers
              </li>
          </ul>
        </div>
        <br>

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

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