-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Closed
Labels
build-problemllvm-toolsAll llvm tools that do not have corresponding tagAll llvm tools that do not have corresponding tagplatform:windows
Description
Issue #56109 is back.
$ wc -l ./tools/clang/tools/clang-repl/clang-repl.symbols
66002 ./tools/clang/tools/clang-repl/clang-repl.symbols
It's worth noting that the link.exe error is almost inscrutable (LINK : fatal error LNK1189: library limit of 65535 objects exceeded
), while the llvm-link.exe error is more useful (lld-link: error: too many exported symbols (got 66002, max 65535)
)
Random observation: there are 3k+ symbols __xmm@something
that are exported, and I'm not sure they need to be.
The number is also different between cross and native compiles (66002 vs. 66119)
It's also worth noting that clang.def is approaching the limit too, with 64420 lines.
The clang-repl.def from my cross build can be found here: https://gist.githubusercontent.com/glandium/79352c2fb0cc63589a3b308a0b25b0f6/raw/0f2e4586baade767df4f0f4c68a2e7c63522ca7d/clang-repl.def
Metadata
Metadata
Assignees
Labels
build-problemllvm-toolsAll llvm tools that do not have corresponding tagAll llvm tools that do not have corresponding tagplatform:windows