Displaying 1 result from an estimated 1 matches for "dcmake_shared_library_link_cxx_flag".
Did you mean:
dcmake_shared_library_link_cxx_flags
2019 Jun 21
2
"Export ordinal too large" when linking LLVM.dll with MinGW64
...gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
Error: export ordinal too large: 283482
The command I used is:
cmake \
-DLLVM_TARGETS_TO_BUILD=X86 \
-DCMAKE_BUILD_TYPE=Debug \
-DLLVM_LINK_LLVM_DYLIB=ON \
-DLLVM_BUILD_TOOLS=OFF \
-DCMAKE_SHARED_LINKER_FLAGS="-t" \
-DCMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS="-t" \
-G "MinGW Makefiles"
Am I doing something wrong? Did anyone managed to get a LLVM.dll with
this toolchain?