[PATCH] D87547: [MinGW][clang-shlib] Build by default on MinGW

Martin Storsjö via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 9 23:35:14 PDT 2020


mstorsjo added a comment.

In D87547#2322900 <https://reviews.llvm.org/D87547#2322900>, @mati865 wrote:

> With `-DLLVM_ENABLE_ASSERTIONS=ON -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_RANLIB_COMPILER=llvm-ranlib -DCMAKE_AR_COMPILER=llvm-ar -DCMAKE_LINKER=ld.lld -DLLVM_ENABLE_LLD=ON` libclang-cpp.dll has 65535 exports, seems it got truncated?

Older versions of lld didn't error out if exceeding the limit, this is fixed in D86701 <https://reviews.llvm.org/D86701>, unfortunately after the 11 branch.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87547/new/

https://reviews.llvm.org/D87547



More information about the cfe-commits mailing list