Skip to content

Conversation

@pchintalapudi
Copy link
Member

This might help with #50729 (comment), if the issue is actually that COFF doesn't like large numbers of external hidden symbols. It helps less as the number of threads increases, but the fallback is to compile with fewer image threads, which will restore a binary that has an extremely limited subset of external symbols.

@pchintalapudi pchintalapudi added compiler:codegen Generation of LLVM IR and native code compiler:llvm For issues that relate to LLVM labels Aug 1, 2023
Copy link
Member

@vtjnash vtjnash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM, though the verifier is not currently happy with this

@pchintalapudi
Copy link
Member Author

Since we've resolved this by requiring a single thread for COFF output when there are lots of symbols, I'm closing this as it results in undefined symbols in the generated dynamic library.

@giordano giordano deleted the pc/internalize branch February 25, 2024 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compiler:codegen Generation of LLVM IR and native code compiler:llvm For issues that relate to LLVM

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants