You could also fix the LLVM build system to work with cmake 2.20, this could mean to just call cmake_policy as suggested. We would want LLVM to eventually work with cmake 2.20 anyway. Michael Am Fr., 5. März 2021 um 08:13 Uhr schrieb Paul C. Anagnostopoulos via llvm-dev <llvm-dev at lists.llvm.org>:> > I have only version 3.20.0-rc2 on my new machine. I didn't notice that I > was installing a release candidate. Shall I uninstall it and install the > latest 3.19? > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
Paul C. Anagnostopoulos via llvm-dev
2021-Mar-06 20:47 UTC
[llvm-dev] LLVM Build on Windows 10
I uninstalled Cmake 2.20 and installed 2.19. Then I could make some progress. My build is now hanging after a series of the following messages. I mean really hanging; I have to blow away the process. Does anyone know what a PDB error is? [18/356] Linking CXX executable bin\llc.exe FAILED: bin/llc.exe cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intdir=tools\llc\CMakeFiles\llc.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x86\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x86\mt.exe --manifests -- C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1428~1.293\bin\Hostx86\x86\link.exe /nologo @CMakeFiles\llc.rsp /out:bin\llc.exe /implib:lib\llc.lib /pdb:bin\llc.pdb /version:0.0 /machine:X86 /STACK:10000000 /debug /INCREMENTAL /subsystem:console && cd ." LINK Pass 1: command "C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1428~1.293\bin\Hostx86\x86\link.exe /nologo @CMakeFiles\llc.rsp /out:bin\llc.exe /implib:lib\llc.lib /pdb:bin\llc.pdb /version:0.0 /machine:X86 /STACK:10000000 /debug /INCREMENTAL /subsystem:console /MANIFEST /MANIFESTFILE:tools\llc\CMakeFiles\llc.dir/intermediate.manifest tools\llc\CMakeFiles\llc.dir/manifest.res" failed (exit code 1318) with the following output: LINK : the 32-bit linker (C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1428~1.293\bin\Hostx86\x86\link.exe) ran out of heap space and is going to restart linking with a 64-bit linker LINK : fatal error LNK1318: Unexpected PDB error; RPC (23) '(0x000006BA)' [19/356] Linking CXX executable bin\bugpoint.exe FAILED: bin/bugpoint.exe cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intdir=tools\bugpoint\CMakeFiles\bugpoint.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x86\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x86\mt.exe --manifests -- C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1428~1.293\bin\Hostx86\x86\link.exe /nologo @CMakeFiles\bugpoint.rsp /out:bin\bugpoint.exe /implib:lib\bugpoint.lib /pdb:bin\bugpoint.pdb /version:0.0 /machine:X86 /STACK:10000000 /debug /INCREMENTAL /subsystem:console && cd ." LINK Pass 1: command "C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1428~1.293\bin\Hostx86\x86\link.exe /nologo @CMakeFiles\bugpoint.rsp /out:bin\bugpoint.exe /implib:lib\bugpoint.lib /pdb:bin\bugpoint.pdb /version:0.0 /machine:X86 /STACK:10000000 /debug /INCREMENTAL /subsystem:console /MANIFEST /MANIFESTFILE:tools\bugpoint\CMakeFiles\bugpoint.dir/intermediate.manifest tools\bugpoint\CMakeFiles\bugpoint.dir/manifest.res" failed (exit code 1318) with the following output: LINK : bin\bugpoint.exe not found or not built by the last incremental link; performing full link LINK : the 32-bit linker (C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1428~1.293\bin\Hostx86\x86\link.exe) ran out of heap space and is going to restart linking with a 64-bit linker LINK : fatal error LNK1318: Unexpected PDB error; RPC (23) '(0x000006BA)' -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210306/82c70bf8/attachment.html>