<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 - Can't compile LLVM with GCC master"
   href="https://bugs.llvm.org/show_bug.cgi?id=44217">44217</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Can't compile LLVM with GCC master
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>tools
          </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>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>opt
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>mliska@suse.cz
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I can't llvm9 release due to:

[  182s] FAILED:
lib/Demangle/CMakeFiles/LLVMDemangle.dir/MicrosoftDemangle.cpp.o 
[  182s] /usr/bin/c++  -DGTEST_HAS_RTTI=0 -D_GNU_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Ilib/Demangle -I../lib/Demangle -I/usr/include/libxml2 -Iinclude -I../include
-O2 -Wall -D_FORTIFY_SOURCE=0 -fstack-protector-strong -funwind-tables
-fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type
-fcommon  -g0 -fPIC -fvisibility-inlines-hidden -std=c++11 -Wall -Wextra
-Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough
-Wno-maybe-uninitialized -Wno-class-memaccess -Wno-noexcept-type
-Wdelete-non-virtual-dtor -Wno-comment -fdiagnostics-color -ffunction-sections
-fdata-sections -O3 -DNDEBUG    -fno-exceptions -fno-rtti -MD -MT
lib/Demangle/CMakeFiles/LLVMDemangle.dir/MicrosoftDemangle.cpp.o -MF
lib/Demangle/CMakeFiles/LLVMDemangle.dir/MicrosoftDemangle.cpp.o.d -o
lib/Demangle/CMakeFiles/LLVMDemangle.dir/MicrosoftDemangle.cpp.o -c
../lib/Demangle/MicrosoftDemangle.cpp
[  182s] In file included from ../include/llvm/Demangle/MicrosoftDemangle.h:13,
[  182s]                  from ../lib/Demangle/MicrosoftDemangle.cpp:16:
[  182s] ../include/llvm/Demangle/MicrosoftDemangleNodes.h:33:6: error: use of
enum 'Qualifiers' without previous declaration
[  182s]    33 | enum Qualifiers : uint8_t {
[  182s]       |      ^~~~~~~~~~
[  182s] ../include/llvm/Demangle/MicrosoftDemangleNodes.h:33:17: error:
expected unqualified-id before ':' token
[  182s]    33 | enum Qualifiers : uint8_t {
[  182s]       |                 ^
[  182s] ../include/llvm/Demangle/MicrosoftDemangleNodes.h:44:6: warning:
elaborated-type-specifier for a scoped enum must not use the 'class' keyword
[  182s]    44 | enum class StorageClass : uint8_t {
[  182s]       | ~~~~ ^~~~~
[  182s]       |      -----
[  182s] ../include/llvm/Demangle/MicrosoftDemangleNodes.h:44:12: error: use of
enum 'StorageClass' without previous declaration
[  182s]    44 | enum class StorageClass : uint8_t {
[  182s]       |            ^~~~~~~~~~~~
[  182s] ../include/llvm/Demangle/MicrosoftDemangleNodes.h:44:25: error:
expected unqualified-id before ':' token
[  182s]    44 | enum class StorageClass : uint8_t {
[  182s]       |                         ^
[  182s] ../include/llvm/Demangle/MicrosoftDemangleNodes.h:57:6: warning:
elaborated-type-specifier for a scoped enum must not use the 'class' keyword
[  182s]    57 | enum class CallingConv : uint8_t {
[  182s]       | ~~~~ ^~~~~
[  182s]       |      -----
[  182s] ../include/llvm/Demangle/MicrosoftDemangleNodes.h:57:12: error: use of
enum 'CallingConv' without previous declaration
[  182s]    57 | enum class CallingConv : uint8_t {
[  182s]       |            ^~~~~~~~~~~
[  182s] ../include/llvm/Demangle/MicrosoftDemangleNodes.h:57:24: error:
expected unqualified-id before ':' token
[  182s]    57 | enum class CallingConv : uint8_t {
[  182s]       |                        ^
[  182s] ../include/llvm/Demangle/MicrosoftDemangleNodes.h:70:6: warning:
elaborated-type-specifier for a scoped enum must not use the 'class' keyword
[  182s]    70 | enum class ReferenceKind : uint8_t { None, LValueRef,
RValueRef };
[  182s]       | ~~~~ ^~~~~
[  182s]       |      -----
[  182s] ../include/llvm/Demangle/MicrosoftDemangleNodes.h:70:12: error: use of
enum 'ReferenceKind' without previous declaration
[  182s]    70 | enum class ReferenceKind : uint8_t { None, LValueRef,
RValueRef };
[  182s]       |            ^~~~~~~~~~~~~
[  182s] ../include/llvm/Demangle/MicrosoftDemangleNodes.h:70:26: error:
expected unqualified-id before ':' token
[  182s]    70 | enum class ReferenceKind : uint8_t { None, LValueRef,
RValueRef };
[  182s]       |                          ^
[  182s] ../include/llvm/Demangle/MicrosoftDemangleNodes.h:110:6: warning:
elaborated-type-specifier for a scoped enum must not use the 'class' keyword
[  182s]   110 | enum class IntrinsicFunctionKind : uint8_t {
[  182s]       | ~~~~ ^~~~~
[  182s]       |      -----
[  182s] ../include/llvm/Demangle/MicrosoftDemangleNodes.h:110:12: error: use
of enum 'IntrinsicFunctionKind' without previous declaration
[  182s]   110 | enum class IntrinsicFunctionKind : uint8_t {
[  182s]       |            ^~~~~~~~~~~~~~~~~~~~~
[  182s] ../include/llvm/Demangle/MicrosoftDemangleNodes.h:110:34: error:
expected unqualified-id before ':' token
[  182s]   110 | enum class IntrinsicFunctionKind : uint8_t {
[  182s]       |                                  ^
[  182s] ../include/llvm/Demangle/MicrosoftDemangleNodes.h:201:6: error: use of
enum 'FuncClass' without previous declaration
[  182s]   201 | enum FuncClass : uint16_t {
[  182s]       |      ^~~~~~~~~
[  182s] ../include/llvm/Demangle/MicrosoftDemangleNodes.h:201:16: error:
expected unqualified-id before ':' token
[  182s]   201 | enum FuncClass : uint16_t {
[  182s]       |                ^
[  182s] ../include/llvm/Demangle/MicrosoftDemangleNodes.h:259:8: error:
'string' in namespace 'std' does not name a type
[  182s]   259 |   std::string toString(OutputFlags Flags = OF_Default) const;
[  182s]       |        ^~~~~~
[  182s] ../include/llvm/Demangle/MicrosoftDemangleNodes.h:19:1: note:
'std::string' is defined in header '<string>'; did you forget to '#include
<string>'?
[  182s]    18 | #include <array>
[  182s]   +++ |+#include <string>
[  182s]    19 | 
[  182s] ../include/llvm/Demangle/MicrosoftDemangleNodes.h:306:3: error:
'Qualifiers' does not name a type
[  182s]   306 |   Qualifiers Quals = Q_None;
[  182s]       |   ^~~~~~~~~~
[  182s] ../include/llvm/Demangle/MicrosoftDemangleNodes.h:331:3: error:
'CallingConv' does not name a type
[  182s]   331 |   CallingConv CallConvention = CallingConv::None;
[  182s]       |   ^~~~~~~~~~~
[  182s] ../include/llvm/Demangle/MicrosoftDemangleNodes.h:334:3: error:
'FuncClass' does not name a type
[  182s]   334 |   FuncClass FunctionClass = FC_Global;
[  182s]       |   ^~~~~~~~~
[  182s] ../include/llvm/Demangle/MicrosoftDemangleNodes.h:365:3: error:
'uint64_t' does not name a type; did you mean 'u_int64_t'?
[  182s]   365 |   uint64_t OffsetInVTable = 0;
[  182s]       |   ^~~~~~~~
[  182s]       |   u_int64_t
[  183s] ../include/llvm/Demangle/MicrosoftDemangleNodes.h:388:65: error:
expected ')' before 'Operator'
[  183s]   388 |   explicit
IntrinsicFunctionIdentifierNode(IntrinsicFunctionKind Operator)
...</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>