github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 37811 tests passed
* 559 tests skipped
All executed tests passed, but another part of the build **failed**. Click on a
failure below to see the details.
<details>
<summary>tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Interpreter.cpp.o</summary>
```
FAILED:
tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Interpreter.cpp.o
sccache /opt/llvm/bin/clang++ -DCLANG_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS
-D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE
-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/lib/Interpreter
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt
-fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror
-Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers
-pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough
-Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor
-Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion
-Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported
-fdiagnostics-color -ffunction-sections -fdata-sections -fno-common
-Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG
-fno-exceptions -funwind-tables -fno-rtti -MD -MT
tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Interpreter.cpp.o
-MF
tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Interpreter.cpp.o.d
-o
tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Interpreter.cpp.o
-c
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/Interpreter.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/Interpreter.cpp:596:24:
error: member access into incomplete type 'clang::IncrementalHIPDeviceParser'
596 | HIPDeviceParser->Parse(Code);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Interpreter/Interpreter.h:48:7:
note: forward declaration of 'clang::IncrementalHIPDeviceParser'
48 | class IncrementalHIPDeviceParser;
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/Interpreter.cpp:600:20:
error: member access into incomplete type 'clang::IncrementalHIPDeviceParser'
600 | HIPDeviceParser->RegisterPTU(*DeviceTU);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Interpreter/Interpreter.h:48:7:
note: forward declaration of 'clang::IncrementalHIPDeviceParser'
48 | class IncrementalHIPDeviceParser;
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/Interpreter.cpp:602:42:
error: member access into incomplete type 'clang::IncrementalHIPDeviceParser'
602 | if (llvm::Error Err = HIPDeviceParser->LinkDeviceLibs())
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Interpreter/Interpreter.h:48:7:
note: forward declaration of 'clang::IncrementalHIPDeviceParser'
48 | class IncrementalHIPDeviceParser;
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/Interpreter.cpp:605:42:
error: member access into incomplete type 'clang::IncrementalHIPDeviceParser'
605 | if (llvm::Error Err = HIPDeviceParser->optimize())
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Interpreter/Interpreter.h:48:7:
note: forward declaration of 'clang::IncrementalHIPDeviceParser'
48 | class IncrementalHIPDeviceParser;
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/Interpreter.cpp:609:28:
error: member access into incomplete type 'clang::IncrementalHIPDeviceParser'
609 | HIPDeviceParser->GenerateHSACO();
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Interpreter/Interpreter.h:48:7:
note: forward declaration of 'clang::IncrementalHIPDeviceParser'
48 | class IncrementalHIPDeviceParser;
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/Interpreter.cpp:613:42:
error: member access into incomplete type 'clang::IncrementalHIPDeviceParser'
613 | if (llvm::Error Err = HIPDeviceParser->GenerateOffloadBundle())
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Interpreter/Interpreter.h:48:7:
note: forward declaration of 'clang::IncrementalHIPDeviceParser'
48 | class IncrementalHIPDeviceParser;
| ^
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/Interpreter.cpp:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/DeviceOffload.h:16:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/IncrementalParser.h:17:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/Module.h:18:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLExtras.h:36:
In file included from
/usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/memory:78:
/usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:97:16:
error: invalid application of 'sizeof' to an incomplete type
'clang::IncrementalHIPDeviceParser'
97 | static_assert(sizeof(_Tp)>0,
| ^~~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:404:4:
note: in instantiation of member function
'std::default_delete<clang::IncrementalHIPDeviceParser>::operator()' requested
here
404 | get_deleter()(std::move(__ptr));
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/Interpreter.cpp:344:14:
note: in instantiation of member function
'std::unique_ptr<clang::IncrementalHIPDeviceParser>::~unique_ptr' requested here
344 | Interpreter::Interpreter(std::unique_ptr<CompilerInstance> Instance,
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Interpreter/Interpreter.h:48:7:
note: forward declaration of 'clang::IncrementalHIPDeviceParser'
48 | class IncrementalHIPDeviceParser;
| ^
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/Interpreter.cpp:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/DeviceOffload.h:16:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/IncrementalParser.h:17:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/Module.h:18:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLExtras.h:36:
In file included from
/usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/memory:78:
/usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:1070:34:
error: allocation of incomplete type 'clang::IncrementalHIPDeviceParser'
1070 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
| ^~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/Interpreter.cpp:515:33:
note: in instantiation of function template specialization
'std::make_unique<clang::IncrementalHIPDeviceParser, clang::CompilerInstance &,
clang::CompilerInstance &, clang::IncrementalAction *,
llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> &, llvm::Error &,
std::list<clang::PartialTranslationUnit> &>' requested here
515 | auto HIPDeviceParser = std::make_unique<IncrementalHIPDeviceParser>(
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Interpreter/Interpreter.h:48:7:
note: forward declaration of 'clang::IncrementalHIPDeviceParser'
48 | class IncrementalHIPDeviceParser;
| ^
8 errors generated.
```
</details>
If these failures are unrelated to your changes (for example tests are broken
or flaky at HEAD), please open an issue at
https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/218848
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits