llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-arm64-windows-msvc` 
running on `linaro-armv8-windows-msvc-04` while building `clang,lldb` at step 4 
"build stage 1".

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

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

```
Step 4 (build stage 1) failure: 'ninja' (failure)
...
[3247/9149] Building CXX object 
lib\CodeGen\AsmPrinter\CMakeFiles\LLVMAsmPrinter.dir\DebugHandlerBase.cpp.obj
[3248/9149] Building CXX object 
lib\CodeGen\AsmPrinter\CMakeFiles\LLVMAsmPrinter.dir\DebugLocStream.cpp.obj
[3249/9149] Building CXX object 
lib\CodeGen\AsmPrinter\CMakeFiles\LLVMAsmPrinter.dir\DIE.cpp.obj
[3250/9149] Building CXX object 
lib\CodeGen\AsmPrinter\CMakeFiles\LLVMAsmPrinter.dir\DIEHash.cpp.obj
[3251/9149] Building CXX object 
lib\CodeGen\AsmPrinter\CMakeFiles\LLVMAsmPrinter.dir\DwarfCFIException.cpp.obj
[3252/9149] Building CXX object 
lib\CodeGen\AsmPrinter\CMakeFiles\LLVMAsmPrinter.dir\DwarfCompileUnit.cpp.obj
[3253/9149] Building CXX object 
lib\CodeGen\AsmPrinter\CMakeFiles\LLVMAsmPrinter.dir\DwarfDebug.cpp.obj
[3254/9149] Building CXX object 
lib\CodeGen\AsmPrinter\CMakeFiles\LLVMAsmPrinter.dir\DwarfExpression.cpp.obj
[3255/9149] Building CXX object 
lib\CodeGen\AsmPrinter\CMakeFiles\LLVMAsmPrinter.dir\DwarfFile.cpp.obj
[3256/9149] Building CXX object 
tools\clang\lib\Serialization\CMakeFiles\obj.clangSerialization.dir\ASTWriter.cpp.obj
FAILED: 
tools/clang/lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriter.cpp.obj
 
ccache C:\Users\tcwg\scoop\apps\llvm\current\bin\clang-cl.exe  /nologo -TP 
-DCLANG_BUILD_STATIC -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE 
-D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS 
-D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE 
-D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS 
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-IC:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\tools\clang\lib\Serialization
 
-IC:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\clang\lib\Serialization
 -IC:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\clang\include 
-IC:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\tools\clang\include 
-IC:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\include 
-IC:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\llvm\include /DWIN32 
/D_WINDOWS   /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- 
-Werror=unguarded-availability-new /W4  -Wextra -Wno-unused-parameter 
-Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough 
-Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor 
-Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion 
-Wmisleading-indentation -Wctad-maybe-unsupported /Gw /O2 /Ob2  -std:c++17 -MD  
/EHs-c- /GR- -UNDEBUG /showIncludes 
/Fotools\clang\lib\Serialization\CMakeFiles\obj.clangSerialization.dir\ASTWriter.cpp.obj
 /Fdtools\clang\lib\Serialization\CMakeFiles\obj.clangSerialization.dir\ -c -- 
C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\clang\lib\Serialization\ASTWriter.cpp
C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\clang\lib\Serialization\ASTWriter.cpp(4331,38):
 error: non-constant-expression cannot be narrowed from type 
'clang::serialization::DeclCode' to 'RecordData::value_type' (aka 'unsigned 
long long') in initializer list [-Wc++11-narrowing]
 4331 |   RecordData::value_type Record[] = {IsPartial ? 
DECL_PARTIAL_SPECIALIZATIONS
      |                                      
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 4332 |                                                : DECL_SPECIALIZATIONS};
      |                                                ~~~~~~~~~~~~~~~~~~~~~~
C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\clang\lib\Serialization\ASTWriter.cpp(4331,38):
 note: insert an explicit cast to silence this issue
 4331 |   RecordData::value_type Record[] = {IsPartial ? 
DECL_PARTIAL_SPECIALIZATIONS
      |                                      
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                      static_cast<value_type>(
 4332 |                                                : DECL_SPECIALIZATIONS};
      |                                                ~~~~~~~~~~~~~~~~~~~~~~
      |                                                                      )
C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\clang\lib\Serialization\ASTWriter.cpp(6068,40):
 error: non-constant-expression cannot be narrowed from type 
'clang::serialization::ASTRecordTypes' to 'RecordData::value_type' (aka 
'unsigned long long') in initializer list [-Wc++11-narrowing]
 6068 |     RecordData::value_type Record[] = {RecordType, 
getDeclID(D).getRawValue()};
      |                                        ^~~~~~~~~~
C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\clang\lib\Serialization\ASTWriter.cpp(6068,40):
 note: insert an explicit cast to silence this issue
 6068 |     RecordData::value_type Record[] = {RecordType, 
getDeclID(D).getRawValue()};
      |                                        ^~~~~~~~~~
      |                                        static_cast<value_type>( )
2 errors generated.
[3257/9149] Building CXX object 
tools\clang\lib\Serialization\CMakeFiles\obj.clangSerialization.dir\TemplateArgumentHasher.cpp.obj
[3258/9149] Building CXX object 
lib\CodeGen\AsmPrinter\CMakeFiles\LLVMAsmPrinter.dir\DwarfStringPool.cpp.obj
[3259/9149] Building CXX object 
tools\clang\lib\Serialization\CMakeFiles\obj.clangSerialization.dir\ModuleManager.cpp.obj
[3260/9149] Building CXX object 
tools\clang\lib\Serialization\CMakeFiles\obj.clangSerialization.dir\ASTReaderStmt.cpp.obj
[3261/9149] Building CXX object 
tools\clang\lib\Serialization\CMakeFiles\obj.clangSerialization.dir\ASTWriterDecl.cpp.obj
[3262/9149] Building CXX object 
tools\clang\lib\Serialization\CMakeFiles\obj.clangSerialization.dir\ASTWriterStmt.cpp.obj
[3263/9149] Building CXX object 
tools\clang\lib\Serialization\CMakeFiles\obj.clangSerialization.dir\ASTReaderDecl.cpp.obj
[3264/9149] Building CXX object 
lib\CodeGen\AsmPrinter\CMakeFiles\LLVMAsmPrinter.dir\AsmPrinter.cpp.obj
[3265/9149] Building CXX object 
tools\clang\lib\Serialization\CMakeFiles\obj.clangSerialization.dir\ASTReader.cpp.obj
ninja: build stopped: subcommand failed.

```

</details>

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

Reply via email to