Stream: t-compiler/help

Topic: Error compiling on windows (On LLVM)


Nick12 (Jul 12 2020 at 02:14, on Zulip):

Does anyone know why I might be getting this error when trying to build rustc?

C:\Proyectos\rust\src\llvm-project\llvm\include\llvm/ADT/SmallVector.h(315,32): error C2976: 'llvm::SmallVectorTemplate
Base': too few template arguments (compiling source file C:\Proyectos\rust\src\llvm-project\llvm\lib\Target\RISCV\MCTar
getDesc\RISCVInstPrinter.cpp) [C:\Proyectos\rust\build\x86_64-pc-windows-msvc\llvm\build\lib\Target\RISCV\MCTargetDesc\
LLVMRISCVDesc.vcxproj]
C:\Proyectos\rust\src\llvm-project\llvm\include\llvm/Support/type_traits.h(181,23): error C2338: inconsistent behavior
between llvm:: and std:: implementation of is_trivially_copyable (compiling source file C:\Proyectos\rust\src\llvm-proj
ect\llvm\lib\Target\RISCV\MCTargetDesc\RISCVMCTargetDesc.cpp) [C:\Proyectos\rust\build\x86_64-pc-windows-msvc\llvm\buil
d\lib\Target\RISCV\MCTargetDesc\LLVMRISCVDesc.vcxproj]

I'm thinking it might be the msvc/vs version but not sure
This looks like the same problem I have <https://users.rust-lang.org/t/rust-bootstrap-fails-on-windows/45162/3>
Here's my full x.py output in case that's useful https://hatebin.com/qfhtygwqly https://hatebin.com/qgzzmfddse

Last update: Sep 28 2020 at 16:30UTC