[llvm-dev] "Export ordinal too large" when linking LLVM.dll with MinGW64

Cosmin Apreutesei via llvm-dev llvm-dev at lists.llvm.org
Fri Jun 21 03:55:29 PDT 2019


Trying to build llvm.dll (8.0.0) with mingw64 (gcc 8.1.0) using cmake.
After linking for hours and consuming some 7GB of RAM, ld.exe finally
bails out with:

Error: export ordinal too large: 283482

The command I used is:
cmake \
-G "MinGW Makefiles"

Am I doing something wrong? Did anyone managed to get a LLVM.dll with
this toolchain?

More information about the llvm-dev mailing list