Old pony 5274#165
Merged
IgorDeepakM merged 3 commits intomasterfrom Apr 29, 2026
Merged
Conversation
Compiler-generated eq/ne methods on primitives inherit their source position from the members AST node, which points into a user-defined method's name. The hint visitor processed them as real methods, producing spurious receiver cap and return type hints.
ponyc statically links LLVM and never uses LLVM's plugin (loadable
module) infrastructure. LLVM defaults LLVM_ENABLE_PLUGINS to whatever
LLVM_ENABLE_PIC is on non-Windows platforms; PR #5263 enabled PIC on
non-Darwin platforms to fix Fedora's PIE-default linking, which had
the side effect of also enabling plugins on OpenBSD.
With plugins enabled, LLVM stops skipping the Bye example pass plugin
("Bye ignored -- Loadable modules not supported on this platform").
The Bye target's CMakeLists declares only `DEPENDS intrinsics_gen`,
so it compiles before tablegen has generated llvm/CodeGen/GenVT.inc.
The local include path falls through; on OpenBSD the base system
ships LLVM headers in /usr/include/llvm/, where an older GenVT.inc
defines GET_VT_ATTR with 9 parameters. The vendored LLVM 21 header
expects 12, producing a cascade of "too few arguments" /
"missing ',' between enumerators" errors.
Set LLVM_ENABLE_PLUGINS=OFF explicitly. PIC stays enabled on
non-Darwin so Fedora linking continues to work.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.