Open zky97 opened 2 years ago
Build and compile environment OS Windows10 python version 3.11.2 cmake version 3.25.2 GNU Make 4.2.1 MinGW64 version 8.1.0_x86_64-posix-seh-rev0, RAM 32GB tag llvmorg-15.0.7 cmake command:
cmake \
-B build \
-D CMAKE_BUILD_TYPE=Release \
-D LLVM_ENABLE_RTTI=ON \
-D LLVM_ENABLE_PROJECTS="clang;clang-tools-extra;lld" \
-D CMAKE_INSTALL_PREFIX=D:/ProgramTools/llvm/llvm15.0.7 \
-G "Unix Makefiles" \
-S llvm
same out:
[ 91%] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/Symbols.cpp.obj
C:/ProgramTools/llvm/src/lld/ELF/Symbols.cpp:28:35: error: static assertion failed: SymbolUnion too large
static_assert(sizeof(SymbolUnion) <= 64, "SymbolUnion too large");
~~~~~~~~~~~~~~~~~~~~^~~~~
mingw32-make[2]: *** [tools/lld/ELF/CMakeFiles/lldELF.dir/build.make:572: tools/lld/ELF/CMakeFiles/lldELF.dir/Symbols.cpp.obj] Error 1
Does anyone have information that this issue has been resolved?
@zky97 @robert-edward-lee I have tried the following. As a result, I guess that it can not be built with ver 8.1.0 of mingw64. So, I recommend trying the latest MinGw.
@akif999 MinGW 11.2.0 is able to build too
but if you comment out this line, everything will be built too, heh)
Build and compile environment OS Windows11 python version 3.10.0 cmake version 3.23.1 ninja version 1.11.0 MinGW64 version 8.1.0_x86_64-posix-seh-rev0, GNU Make version 4.2.1 RAM 64GB cmake command:
Prompt when compiling with Ninja:
and