llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`openmp-offload-sles-build-only` running on `rocm-worker-hw-04-sles` while 
building `clang,llvm` at step 5 "compile-openmp".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/140/builds/22326

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 5 (compile-openmp) failure: build (failure)
...
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/IR/ModuleSummaryIndex.h:
 In member function ‘const llvm::TypeIdSummary* 
llvm::ModuleSummaryIndex::getTypeIdSummary(llvm::StringRef) const’:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/IR/ModuleSummaryIndex.h:1890:39:
 warning: unused variable ‘GUID’ [-Wunused-variable]
     for (const auto &[GUID, TypeIdPair] : make_range(TidIter))
                                       ^
225.154 [3176/32/3964] Building CXX object 
tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/OperatorPrecedence.cpp.o
225.154 [3175/32/3965] Building CXX object 
tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/FileEntry.cpp.o
225.314 [3174/32/3966] Building CXX object 
tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/FileSystemStatCache.cpp.o
225.317 [3173/32/3967] Building CXX object 
tools/bugpoint/CMakeFiles/bugpoint.dir/ExtractFunction.cpp.o
225.319 [3172/32/3968] Building CXX object 
tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/OffloadArch.cpp.o
225.371 [3171/32/3969] Building CXX object 
tools/clang/lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesManager.cpp.o
FAILED: 
tools/clang/lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesManager.cpp.o 
ccache /usr/bin/c++ -DCLANG_EXPORTS -DGTEST_HAS_RTTI=0 -D_DEBUG 
-D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS 
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/clang/lib/APINotes 
-I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/lib/APINotes
 -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include 
-Itools/clang/include -Iinclude 
-I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include 
-fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time 
-Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual 
-Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough 
-Wno-uninitialized -Wno-nonnull -Wno-noexcept-type -Wdelete-non-virtual-dtor 
-Wno-comment -Wno-misleading-indentation -fdiagnostics-color 
-ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual 
-fno-strict-aliasing -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti 
-UNDEBUG -std=c++1z -MD -MT 
tools/clang/lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesManager.cpp.o 
-MF 
tools/clang/lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesManager.cpp.o.d
 -o 
tools/clang/lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesManager.cpp.o 
-c 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/lib/APINotes/APINotesManager.cpp
In file included from 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/ADT/ADL.h:12:0,
                 from 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/ADT/Hashing.h:47,
                 from 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/Basic/CustomizableOptional.h:12,
                 from 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/Basic/FileEntry.h:17,
                 from 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/Basic/SourceLocation.h:17,
                 from 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/APINotes/APINotesManager.h:12,
                 from 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/lib/APINotes/APINotesManager.cpp:9:
/usr/include/c++/7/type_traits: In instantiation of ‘struct 
std::underlying_type<const clang::SourceRange>’:
/usr/include/c++/7/type_traits:2488:66:   required by substitution of 
‘template<class _Tp> using underlying_type_t = typename 
std::underlying_type::type [with _Tp = const clang::SourceRange]’
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/Basic/Diagnostic.h:1441:9:
   required by substitution of ‘template<class T, class U> 
std::enable_if_t<(is_same_v<typename std::remove_const<_Tp>::type, 
clang::StreamingDiagnostic> && is_scoped_enum_v<typename 
std::remove_reference<_To>::type>), const clang::StreamingDiagnostic&> 
clang::operator<<(const T&, U&&) [with T = clang::StreamingDiagnostic; U = 
const clang::SourceRange&]’
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/Basic/Diagnostic.h:1490:12:
   required from here
/usr/include/c++/7/type_traits:2242:38: error: ‘const clang::SourceRange’ is 
not an enumeration type
       typedef __underlying_type(_Tp) type;
                                      ^~~~
/usr/include/c++/7/type_traits: In instantiation of ‘struct 
std::underlying_type<const clang::CharSourceRange>’:
/usr/include/c++/7/type_traits:2488:66:   required by substitution of 
‘template<class _Tp> using underlying_type_t = typename 
std::underlying_type::type [with _Tp = const clang::CharSourceRange]’
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/Basic/Diagnostic.h:1441:9:
   required by substitution of ‘template<class T, class U> 
std::enable_if_t<(is_same_v<typename std::remove_const<_Tp>::type, 
clang::StreamingDiagnostic> && is_scoped_enum_v<typename 
std::remove_reference<_To>::type>), const clang::StreamingDiagnostic&> 
clang::operator<<(const T&, U&&) [with T = clang::StreamingDiagnostic; U = 
const clang::CharSourceRange&]’
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/Basic/Diagnostic.h:1498:12:
   required from here
/usr/include/c++/7/type_traits:2242:38: error: ‘const clang::CharSourceRange’ 
is not an enumeration type
/usr/include/c++/7/type_traits: In instantiation of ‘struct 
std::underlying_type<const clang::FixItHint>’:
/usr/include/c++/7/type_traits:2488:66:   required by substitution of 
‘template<class _Tp> using underlying_type_t = typename 
std::underlying_type::type [with _Tp = const clang::FixItHint]’
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/Basic/Diagnostic.h:1441:9:
   required by substitution of ‘template<class T, class U> 
std::enable_if_t<(is_same_v<typename std::remove_const<_Tp>::type, 
clang::StreamingDiagnostic> && is_scoped_enum_v<typename 
std::remove_reference<_To>::type>), const clang::StreamingDiagnostic&> 
clang::operator<<(const T&, U&&) [with T = clang::StreamingDiagnostic; U = 
const clang::FixItHint&]’
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/Basic/Diagnostic.h:1505:12:
   required from here
/usr/include/c++/7/type_traits:2242:38: error: ‘const clang::FixItHint’ is not 
an enumeration type
/usr/include/c++/7/type_traits: In instantiation of ‘struct 
std::underlying_type<const char [18]>’:
/usr/include/c++/7/type_traits:2488:66:   required by substitution of 
‘template<class _Tp> using underlying_type_t = typename 
std::underlying_type::type [with _Tp = const char [18]]’
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/Basic/Diagnostic.h:1441:9:
   required by substitution of ‘template<class T, class U> 
std::enable_if_t<(is_same_v<typename std::remove_const<_Tp>::type, 
clang::StreamingDiagnostic> && is_scoped_enum_v<typename 
std::remove_reference<_To>::type>), const clang::StreamingDiagnostic&> 
clang::operator<<(const T&, U&&) [with T = llvm::raw_fd_ostream; U = const char 
(&)[18]]’
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/Basic/LangOptions.h:1194:21:
   required from here
/usr/include/c++/7/type_traits:2242:38: error: ‘const char [18]’ is not an 
enumeration type
/usr/include/c++/7/type_traits: In instantiation of ‘struct 
std::underlying_type<const unsigned int>’:
/usr/include/c++/7/type_traits:2488:66:   required by substitution of 
‘template<class _Tp> using underlying_type_t = typename 
std::underlying_type::type [with _Tp = const unsigned int]’
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/Basic/Diagnostic.h:1441:9:
   required by substitution of ‘template<class T, class U> 
std::enable_if_t<(is_same_v<typename std::remove_const<_Tp>::type, 
clang::StreamingDiagnostic> && is_scoped_enum_v<typename 
std::remove_reference<_To>::type>), const clang::StreamingDiagnostic&> 
clang::operator<<(const T&, U&&) [with T = llvm::raw_ostream; U = const 
unsigned int&]’
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/Basic/LangOptions.h:1194:45:
   required from here
/usr/include/c++/7/type_traits:2242:38: error: ‘const unsigned int’ is not an 
enumeration type
/usr/include/c++/7/type_traits: In instantiation of ‘struct 
std::underlying_type<const char [24]>’:
/usr/include/c++/7/type_traits:2488:66:   required by substitution of 
‘template<class _Tp> using underlying_type_t = typename 
std::underlying_type::type [with _Tp = const char [24]]’
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/Basic/Diagnostic.h:1441:9:
   required by substitution of ‘template<class T, class U> 
std::enable_if_t<(is_same_v<typename std::remove_const<_Tp>::type, 
clang::StreamingDiagnostic> && is_scoped_enum_v<typename 
std::remove_reference<_To>::type>), const clang::StreamingDiagnostic&> 
clang::operator<<(const T&, U&&) [with T = llvm::raw_ostream; U = const char 
(&)[24]]’

```

</details>

https://github.com/llvm/llvm-project/pull/138089
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to