<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 - libc++: Fails to build on linux: mips/mipsel with unknown type name 'char_class_type'"
   href="https://bugs.llvm.org/show_bug.cgi?id=43011">43011</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>libc++: Fails to build on linux: mips/mipsel with unknown type name 'char_class_type'
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libc++
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>9.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>release blocker
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

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

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

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, mclow.lists@gmail.com
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>42474
          </td>
        </tr></table>
      <p>
        <div>
        <pre>In stage2:

cd "/<<PKGBUILDDIR>>/libcxx/build/src" &&
"/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/bin/clang++"  -DNDEBUG
-D_LIBCPP_BUILDING_LIBRARY -D_LIBCPP_HAS_COMMENT_LIB_PRAGMA
-D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
-I"/<<PKGBUILDDIR>>/libcxx/build/include/c++build"
-I"/<<PKGBUILDDIR>>/libcxx/include"  -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -DNDEBUG  
-DLIBCXX_BUILDING_LIBCXXABI -std=c++11 -nostdinc++ -fvisibility-inlines-hidden
-Wall -Wextra -W -Wwrite-strings -Wno-unused-parameter -Wno-long-long
-Werror=return-type -Wextra-semi -Wno-user-defined-literals
-Wno-covered-switch-default -Wno-ignored-attributes -Wno-error -o
CMakeFiles/cxx_static.dir/chrono.cpp.o -c
"/<<PKGBUILDDIR>>/libcxx/src/chrono.cpp"
In file included from /<<PKGBUILDDIR>>/libcxx/src/algorithm.cpp:10:
In file included from /<<PKGBUILDDIR>>/libcxx/src/algorithm.cpp:10:
In file included from /<<PKGBUILDDIR>>/libcxx/include/random:1645:
In file included from /<<PKGBUILDDIR>>/libcxx/include/istream:163:
In file included from /<<PKGBUILDDIR>>/libcxx/include/ostream:138:
In file included from /<<PKGBUILDDIR>>/libcxx/include/ios:215:
/<<PKGBUILDDIR>>/libcxx/include/__locale:412:50: error: unknown type name
'char_class_type'
    static const mask __regex_word = static_cast<char_class_type>(_ISbit(15));
                                                 ^
/<<PKGBUILDDIR>>/libcxx/include/__locale:412:67: warning: implicit conversion
from 'int' to 'const std::__1::ctype_base::mask' (aka 'const unsigned short')
changes value from 8388608 to 0 [-Wconstant-conversion]
    static const mask __regex_word = static_cast<char_class_type>(_ISbit(15));
                      ~~~~~~~~~~~~                                ^~~~~~~~~~
/usr/include/ctype.h:43:50: note: expanded from macro '_ISbit'
#  define _ISbit(bit)   ((bit) < 8 ? ((1 << (bit)) << 8) : ((1 << (bit)) >> 8))
                                      ~~~~~~~~~~~~~^~~~

Full log:
<a href="https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-9&arch=mipsel&ver=1%3A9%7E%2Brc2-1%7Eexp1&stamp=1565883314&raw=0">https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-9&arch=mipsel&ver=1%3A9%7E%2Brc2-1%7Eexp1&stamp=1565883314&raw=0</a>

Probably the same issue on mips64el</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_REOPENED "
   title="REOPENED - [meta] 9.0.0 Release Blockers"
   href="https://bugs.llvm.org/show_bug.cgi?id=42474">Bug 42474</a>] [meta] 9.0.0 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>