zig-bootstrap
zig-bootstrap copied to clipboard
x86_64-windows-gnu cannot build
-- Build files have been written to: F:/tmp/zig-bootstrap/out-win-x86/build-llvm-host
[64/1444] Building CXX object tools\clang\lib\Basic\CMakeFiles\obj.clangBasic.dir\Targets\X86.cpp.obj
F:\tmp\zig-bootstrap\clang\lib\Basic\Targets\X86.cpp(926): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
[67/1444] Building CXX object tools\clang\lib\Lex\CMakeFiles\obj.clangLex.dir\Lexer.cpp.obj
FAILED: tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/Lexer.cpp.obj
C:\PROGRA~1\MICROS~4\2022\COMMUN~1\VC\Tools\MSVC\1435~1.322\bin\Hostx86\x86\cl.exe /nologo /TP -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_FILE_OFFSET_BITS=64 -D_HAS_EXCEPTIONS=0 -D_LARGEFILE_SOURCE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IF:\tmp\zig-bootstrap\out-win-x86\build-llvm-host\tools\clang\lib\Lex -IF:\tmp\zig-bootstrap\clang\lib\Lex -IF:\tmp\zig-bootstrap\clang\include -IF:\tmp\zig-bootstrap\out-win-x86\build-llvm-host\tools\clang\include -IF:\tmp\zig-bootstrap\out-win-x86\build-llvm-host\include -IF:\tmp\zig-bootstrap\llvm\include -IF:\tmp\zig-bootstrap\out-win-x86\host\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd4324 -w14062 -we4238 /Gw /MT /O2 /Ob2 /DNDEBUG /EHs-c- /GR- -std:c++17 /showIncludes /Fotools\clang\lib\Lex\CMakeFiles\obj.clangLex.dir\Lexer.cpp.obj /Fdtools\clang\lib\Lex\CMakeFiles\obj.clangLex.dir\ /FS -c F:\tmp\zig-bootstrap\clang\lib\Lex\Lexer.cpp
F:\tmp\zig-bootstrap\clang\lib\Lex\UnicodeCharSets.h(1): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
F:\tmp\zig-bootstrap\clang\lib\Lex\UnicodeCharSets.h(394): error C2226: syntax error: unexpected type 'llvm::sys::UnicodeCharRange'
F:\tmp\zig-bootstrap\clang\lib\Lex\UnicodeCharSets.h(394): error C2143: syntax error: missing ';' before '{'
F:\tmp\zig-bootstrap\clang\lib\Lex\UnicodeCharSets.h(394): error C2447: '{': missing function header (old-style formal list?)
F:\tmp\zig-bootstrap\clang\lib\Lex\Lexer.cpp(1479): error C2665: 'llvm::sys::UnicodeCharSet::UnicodeCharSet': no overloaded function could convert all the argument types
F:\tmp\zig-bootstrap\llvm\include\llvm/Support/UnicodeCharRanges.h(96): note: could be 'llvm::sys::UnicodeCharSet::UnicodeCharSet(llvm::sys::UnicodeCharSet &&)'
F:\tmp\zig-bootstrap\clang\lib\Lex\Lexer.cpp(1479): note: 'llvm::sys::UnicodeCharSet::UnicodeCharSet(llvm::sys::UnicodeCharSet &&)': cannot convert argument 1 from 'const llvm::sys::UnicodeCharRange []' to 'llvm::sys::UnicodeCharSet &&'
F:\tmp\zig-bootstrap\clang\lib\Lex\Lexer.cpp(1480): note: Reason: cannot convert from 'const llvm::sys::UnicodeCharRange []' to 'llvm::sys::UnicodeCharSet'
F:\tmp\zig-bootstrap\clang\lib\Lex\Lexer.cpp(1480): note: No constructor could take the source type, or constructor overload resolution was ambiguous
F:\tmp\zig-bootstrap\llvm\include\llvm/Support/UnicodeCharRanges.h(96): note: or 'llvm::sys::UnicodeCharSet::UnicodeCharSet(const llvm::sys::UnicodeCharSet &)'
F:\tmp\zig-bootstrap\clang\lib\Lex\Lexer.cpp(1479): note: 'llvm::sys::UnicodeCharSet::UnicodeCharSet(const llvm::sys::UnicodeCharSet &)': cannot convert argument 1 from 'const llvm::sys::UnicodeCharRange []' to 'const llvm::sys::UnicodeCharSet &'
F:\tmp\zig-bootstrap\clang\lib\Lex\Lexer.cpp(1480): note: Reason: cannot convert from 'const llvm::sys::UnicodeCharRange []' to 'const llvm::sys::UnicodeCharSet'
F:\tmp\zig-bootstrap\clang\lib\Lex\Lexer.cpp(1480): note: No constructor could take the source type, or constructor overload resolution was ambiguous
F:\tmp\zig-bootstrap\llvm\include\llvm/Support/UnicodeCharRanges.h(55): note: or 'llvm::sys::UnicodeCharSet::UnicodeCharSet(llvm::sys::UnicodeCharSet::CharRanges)'
F:\tmp\zig-bootstrap\clang\lib\Lex\Lexer.cpp(1479): note: 'llvm::sys::UnicodeCharSet::UnicodeCharSet(llvm::sys::UnicodeCharSet::CharRanges)': cannot convert argument 1 from 'const llvm::sys::UnicodeCharRange []' to 'llvm::sys::UnicodeCharSet::CharRanges'
F:\tmp\zig-bootstrap\clang\lib\Lex\Lexer.cpp(1480): note: No constructor could take the source type, or constructor overload resolution was ambiguous
F:\tmp\zig-bootstrap\clang\lib\Lex\Lexer.cpp(1479): note: while trying to match the argument list '(const llvm::sys::UnicodeCharRange [])'
F:\tmp\zig-bootstrap\clang\lib\Lex\Lexer.cpp(1508): error C2065: 'C11AllowedIDCharRanges': undeclared identifier
F:\tmp\zig-bootstrap\clang\lib\Lex\Lexer.cpp(1548): error C2665: 'llvm::sys::UnicodeCharSet::UnicodeCharSet': no overloaded function could convert all the argument types
F:\tmp\zig-bootstrap\llvm\include\llvm/Support/UnicodeCharRanges.h(96): note: could be 'llvm::sys::UnicodeCharSet::UnicodeCharSet(llvm::sys::UnicodeCharSet &&)'
F:\tmp\zig-bootstrap\clang\lib\Lex\Lexer.cpp(1548): note: 'llvm::sys::UnicodeCharSet::UnicodeCharSet(llvm::sys::UnicodeCharSet &&)': cannot convert argument 1 from 'const llvm::sys::UnicodeCharRange []' to 'llvm::sys::UnicodeCharSet &&'
F:\tmp\zig-bootstrap\clang\lib\Lex\Lexer.cpp(1549): note: Reason: cannot convert from 'const llvm::sys::UnicodeCharRange []' to 'llvm::sys::UnicodeCharSet'
F:\tmp\zig-bootstrap\clang\lib\Lex\Lexer.cpp(1549): note: No constructor could take the source type, or constructor overload resolution was ambiguous
F:\tmp\zig-bootstrap\llvm\include\llvm/Support/UnicodeCharRanges.h(96): note: or 'llvm::sys::UnicodeCharSet::UnicodeCharSet(const llvm::sys::UnicodeCharSet &)'
F:\tmp\zig-bootstrap\clang\lib\Lex\Lexer.cpp(1548): note: 'llvm::sys::UnicodeCharSet::UnicodeCharSet(const llvm::sys::UnicodeCharSet &)': cannot convert argument 1 from 'const llvm::sys::UnicodeCharRange []' to 'const llvm::sys::UnicodeCharSet &'
F:\tmp\zig-bootstrap\clang\lib\Lex\Lexer.cpp(1549): note: Reason: cannot convert from 'const llvm::sys::UnicodeCharRange []' to 'const llvm::sys::UnicodeCharSet'
F:\tmp\zig-bootstrap\clang\lib\Lex\Lexer.cpp(1549): note: No constructor could take the source type, or constructor overload resolution was ambiguous
F:\tmp\zig-bootstrap\llvm\include\llvm/Support/UnicodeCharRanges.h(55): note: or 'llvm::sys::UnicodeCharSet::UnicodeCharSet(llvm::sys::UnicodeCharSet::CharRanges)'
F:\tmp\zig-bootstrap\clang\lib\Lex\Lexer.cpp(1548): note: 'llvm::sys::UnicodeCharSet::UnicodeCharSet(llvm::sys::UnicodeCharSet::CharRanges)': cannot convert argument 1 from 'const llvm::sys::UnicodeCharRange []' to 'llvm::sys::UnicodeCharSet::CharRanges'
F:\tmp\zig-bootstrap\clang\lib\Lex\Lexer.cpp(1549): note: No constructor could take the source type, or constructor overload resolution was ambiguous
F:\tmp\zig-bootstrap\clang\lib\Lex\Lexer.cpp(1548): note: while trying to match the argument list '(const llvm::sys::UnicodeCharRange [])'
[80/1444] Building CXX object tools\clang\lib\Lex\CMakeFiles\obj.clangLex.dir\ModuleMap.cpp.obj
ninja: build stopped: subcommand failed.
F:\tmp\zig-bootstrap\clang\lib\Basic\Targets\X86.cpp(926): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
Looks like something is broken in your setup, ie messed up gitattributes or the editor broke something.