llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
29.06k stars 11.98k forks source link

Linker out of memory with CMake and Visual Studio Generator #45416

Closed llvmbot closed 1 year ago

llvmbot commented 4 years ago
Bugzilla Link 46071
Version 10.0
OS Windows NT
Reporter LLVM Bugzilla Contributor
CC @DougGregor,@zygoloid

Extended Description

I have a VS project that I have been migrating to CMAKE in order to be able to compile with MSVC and ClangCL. If I use Ninja as generator everything works fine, but when I switch to Visual Studio 19, I obtain the following error:

Building Custom Rule C:/sw_source/SEM.Maeve/test/GCoreTest/CMakeLists.txt
C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\EXEC : LLVM error : out of memory
           Stack dump:
           0.   Program arguments: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\Llvm\bin\clang-cl.exe -cc1 -triple x86_64-pc-windows-msvc19.26.28805 -emit-obj -mincremental-linker-compatible -disable-free -disable-llvm-verifier -discard-value-names -main-file-name BaseActionGeneratorTest.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -mframe-pointer=none -relaxed-aliasing -fmath-errno -fno-rounding-math -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -mllvm -x86-asm-syntax=intel -D_MT -flto-visibility-public-std --dependent-lib=libcmt --dependent-lib=oldnames -stack-protector 2 -fcxx-exceptions -fexceptions -fexternc-nounwind -fms-volatile -fdefault-calling-conv=cdecl -fdiagnostics-format msvc -gcodeview -debug-info-kind=limited -ffunction-sections -resource-dir C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\Llvm\lib\clang\10.0.0 -include-pch C:/sw_source/SEM.Maeve/out/build/VS-Clang-Release/test/GCoreTest/GCoreTest.dir/RelWithDebInfo/cmake_pch.pch -pch-through-header=C:/sw_source/SEM.Maeve/out/build/VS-Clang-Release/test/GCoreTest/CMakeFiles/GCoreTest.dir/RelWithDebInfo/cmake_pch.hxx -include C:/sw_source/SEM.Maeve/out/build/VS-Clang-Release/test/GCoreTest/CMakeFiles/GCoreTest.dir/RelWithDebInfo/cmake_pch.hxx -I C:\sw_source\SEM.Maeve\deps\googletest\googletest\include -I C:\sw_source\SEM.Maeve\deps\nlohmann\include -I C:\sw_source\SEM.Maeve\deps\armadillo\include -I C:\sw_source\SEM.Maeve\deps\libdivide -I C:\sw_source\SEM.Maeve\src\MaeveAPI -I C:\sw_source\SEM.Maeve\src\MaeveAPI\api -I C:\sw_source\SEM.Maeve\deps\protobuf\src -I C:\sw_source\SEM.Maeve\src\MaeveCoreCpp -I C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2019\windows\mkl\include -D WIN32 -D _WINDOWS -D NDEBUG -D CMAKE_INTDIR="RelWithDebInfo" -D _MBCS -internal-isystem C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\Llvm\lib\clang\10.0.0\include -internal-isystem C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\include -internal-isystem C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\atlmfc\include -internal-isystem C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\VS\include -internal-isystem C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt -internal-isystem C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\VS\UnitTest\include -internal-isystem C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um -internal-isystem C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\shared -internal-isystem C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\winrt -internal-isystem C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\cppwinrt -internal-isystem C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\Include\um -O2 -WCL4 -Werror -fdeprecated-macro -fdebug-compilation-dir C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest -ferror-limit 19 -fmessage-length 0 -fno-use-cxa-atexit -fms-extensions -fms-compatibility -fms-compatibility-version=19.26.28805 -std=c++17 -fdelayed-template-parsing -finline-hint-functions -fobjc-runtime=gcc -fno-caret-diagnostics -fdiagnostics-show-option -vectorize-loops -vectorize-slp -fopenmp -faddrsig -o GCoreTest.dir\RelWithDebInfo\BaseActionGeneratorTest.obj -x c++ C:\sw_source\SEM.Maeve\test\GCoreTest\BaseActionGeneratorTest.cpp
           1.   <eof> parser at end of file
           2.   Code generation
           3.   Running pass 'Function Pass Manager' on module 'C:\sw_source\SEM.Maeve\test\GCoreTest\BaseActionGeneratorTest.cpp'.
           4.   Running pass 'X86 Assembly Printer' on function '@"??0?$LinearActionGenerator@$01$04$00N@actions@maeve@@QEAA@V?$shared_ptr@V?$BaseGrid@$01$04N@grid@maeve@@@std@@_KN1@Z"'
           0x016A67F8 (0x00000016 0x0598D814 0xFFFFFFFE 0x00000003) <unknown module>
           0x779D84B2 (0x4D564C4C 0x52524520 0x203A524F 0x2074756F) <unknown module>
           0x01699AED (0x00000400 0x00A4E4EC 0x014B921F 0x00000400) <unknown module>
           0x032F406F (0x00000400 0x3C398C78 0x00071EB1 0x69BD10E4) <unknown module>
           0x014B921F (0x0004BF22 0x0598D8B8 0xDEE7E388 0x3C2B6620) <unknown module>
           0x014B7254 (0x0598D8E8 0xDEE7E3AC 0x00000000 0x0004BF20) <unknown module>
           0x01E9BB80 (0x3D04695C 0x01230A4B 0x0004BF20 0x00000005) <unknown module>
           0x014A45F2 (0x0004BF20 0x00000005 0x0000028A 0x00000000) <unknown module>
           0x01230A4B (0x4ED80228 0x279987C8 0x7262C9A8 0x3C2B662C) <unknown module>
           0x01E9D1FB (0x0598DA54 0x4ED80368 0x0598DD74 0x0598DA4C) <unknown module>
           0x01EA792A (0x7262BDC0 0x047806AA 0x34C9B050 0x7262BDC0) <unknown module>
           0x01E7881C (0x6EB9BCD8 0x4041528C 0x3D046948 0x010637BB) <unknown module>
           0x00C10FEF (0x4041528C 0x00C9B050 0x045A7E00 0x3F134D68) <unknown module>
           0x012095EA (0x4041528C 0x3F134D68 0x00000000 0x05C48608) <unknown module>
           0x01209830 (0x05C48608 0x00000000 0x00000000 0x00000000) <unknown module>
           0x01209C0E (0x05C48608 0x0598E258 0x0598E288 0x00000000) <unknown module>
           0x01880A8F (0x00000005 0x05C091C0 0x02726621 0x05C48608) <unknown module>
           0x0187B55C (0x05BB6910 0x05BB7880 0x05BE7630 0x05BACF98) <unknown module>
           0x032DC197 (0x05C3CCC8 0x00E7D8DC 0x0E015CD8 0x00000000) <unknown module>
           0x0267599C (0x05C375F8 0x00000000 0x00000000 0x0598E440) <unknown module>
           0x01CCB516 (0x0463CD54 0xDEE7DED8 0x05B926A8 0x05BE1250) <unknown module>
           0x01CCB08D (0x0598E608 0x05B926A8 0x05B926A8 0x0598E664) <unknown module>
           0x01C997D8 (0x05BC21D0 0x00000002 0x0F137A39 0x04B0C2B4) <unknown module>
           0x01D1CCFC (0x696D2D6E 0x70786573 0x00746365 0x75ACB6A8) <unknown module>
           0x7261772D (0x70786573 0x00746365 0x75ACB6A8 0xCD9EB0A8) <unknown module>
           0x696D2D6E (0x00746365 0x75ACB6A8 0xCD9EB0A8 0xDF390824) <unknown module>
           0x70786573 (0x75ACB6A8 0xCD9EB0A8 0xDF390824 0x7B7C3E5D) <unknown module>
           0x00746365 (0xCD9EB0A8 0xDF390824 0x7B7C3E5D 0x8C003D00) <unknown module>
           0x75ACB6A8 (0xDF390824 0x7B7C3E5D 0x8C003D00 0x00000013) <unknown module>
           0xCD9EB0A8 (0x7B7C3E5D 0x8C003D00 0x00000013 0x05BE47C8) <unknown module>
           0xDF390824 (0x8C003D00 0x00000013 0x05BE47C8 0x5F637261) <unknown module>
           0x7B7C3E5D (0x00000013 0x05BE47C8 0x5F637261 0x635F6663) <unknown module>
           0x8C003D00 (0x05BE47C8 0x5F637261 0x635F6663 0x5F65646F) <unknown module>
C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\3>clang-cl : error : clang frontend command failed due to signal (use -v to see invocation) 
           clang version 10.0.0
           Target: x86_64-pc-windows-msvc
           Thread model: posix
           InstalledDir: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\Llvm\bin
         clang-cl : message : diagnostic msg: PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
           ********************
           PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
           Preprocessed source(s) and associated run script(s) are located at:
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\APITest-199ce5.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\ActionDataTest-c30d8f.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\BackwardTests-d11094.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\BaseActionGeneratorTest-b9354b.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\BaseContainerTest-50d206.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\BasicVPPManagerTests-078fb9.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\BetaInterpolatorTests-39d3ae.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\BooleanInterpolatorTest-489425.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\BoundsTest-33f8b8.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\CachedCartesianManagerTest-fdc602.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\CartesianAxisTest-1e893b.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\CartesianManagerTest-07efc0.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\ConditionCheckerTest-fe0d4d.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\ContinuousInterpolatorTest-de1176.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\DataContainerTest-2fece8.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\DataDimContainerTest-c63feb.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\DealFactoryTest-136223.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\DiscreteInterpolatorTest-b56ced.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\DiscretizerTest-f6ba97.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\DumpingContainerTest-f5e3af.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\EuropeanOptionTest-27d3c0.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\ForwardTests-267018.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\GridDataTest-22ae7e.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\GridFactoryTest-38255a.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\GridInterpolatorTest-b3f844.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\InputBuilderTest-6d7cff.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\JsonSerializationTest-f25a26.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\LeastSquaresTests-628325.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\MixedInterpolatorTests-45a92b.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\NodeDumperTest-9e9afc.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\OptimizationResultTest-f0faac.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\ProblemTest-55fce2.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\ProfilerTest-cd5331.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\RampManagerTest-66575d.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\RegressorFactoryTest-ad2bd5.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\SimpleContainerTest-e229df.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\SoregiesTest-d6cb94.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\SpeedHacksTests-47100f.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\StaticGridTest-7fc6d5.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\StatisticsTest-0d1fba.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\SwingOptionTests-53353d.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\TimeDependentParametersTests-789f54.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\TrajectoryTests-78d98c.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\VariantTest-5a794f.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\pch-f78e1f.cpp [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: C:\Users\TVINCF~1.AXU\AppData\Local\Temp\APITest-199ce5.sh [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
         clang-cl : message : diagnostic msg: [C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj]
           ********************
       3>Done Building Project "C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\test\GCoreTest\GCoreTest.vcxproj" (default targets) -- FAILED.
       1>Done Building Project "C:\sw_source\SEM.Maeve\out\build\VS-Clang-Release\ALL_BUILD.vcxproj" (default targets) -- FAILED.

The dumps are here: https://www.dropbox.com/s/b4zbg3zkxz7a80d/LLVM_Error.7z?dl=0 The project is indeed quite memory hungry, but there is a plenty of memory left. Similar errors are appearing for other files too, but they seem identical to the one above.

For comparison's sake, the command I get with Ninja (which is working just fine) is:

[26/58] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\Llvm\x64\bin\clang-cl.exe  /nologo -TP  -I..\..\..\deps\googletest\googletest\include -I..\..\..\deps\nlohmann\include -I..\..\..\deps\armadillo\include -I..\..\..\deps\libdivide -I..\..\..\src\MaeveAPI -I..\..\..\src\MaeveAPI\api -I..\..\..\deps\protobuf\src -I..\..\..\src\MaeveCoreCpp -I"C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2019\windows\mkl\include" -m64 -fdiagnostics-absolute-paths  /DWIN32 /D_WINDOWS /W4 /GR /EHsc /MT /Zi /O2 /Ob1 /D NDEBUG   /sdl /EHsc -Xclang -fopenmp -WX -bigobj -std:c++17 /YuC:/sw_source/SEM.Maeve/out/build/Ninja-Clang-Release/test/GCoreTest/CMakeFiles/GCoreTest.dir/cmake_pch.hxx /FpC:/sw_source/SEM.Maeve/out/build/Ninja-Clang-Release/test/GCoreTest/CMakeFiles/GCoreTest.dir/./cmake_pch.cxx.pch /FIC:/sw_source/SEM.Maeve/out/build/Ninja-Clang-Release/test/GCoreTest/CMakeFiles/GCoreTest.dir/cmake_pch.hxx /showIncludes /Fotest\GCoreTest\CMakeFiles\GCoreTest.dir\BaseActionGeneratorTest.cpp.obj /Fdtest\GCoreTest\CMakeFiles\GCoreTest.dir\ -c ..\..\..\test\GCoreTest\BaseActionGeneratorTest.cpp

I use VS19 as IDE, CMAKE 3.17.2, Windows 10. Happy to provide any further information you might need.

Endilll commented 1 year ago

Link to reproducer is dead. Unfortunately, we can't do much without a reproducer. Feel free to reopen if you have additional information.

llvmbot commented 1 year ago

@llvm/issue-subscribers-backend-x86