Repository navigation
Keep ppc64le linker stubs within branch range - #1182
Open
anutosh491 wants to merge 1 commit into
Open
anutosh491 wants to merge 1 commit into
anutosh491 wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1182 +/- ##
=======================================
Coverage 88.86% 88.86%
=======================================
Files 24 24
Lines 7014 7017 +3
=======================================
+ Hits 6233 6236 +3
Misses 781 781
🚀 New features to boost your workflow:
|
anutosh491
force-pushed
the
fix-ppc64le-link-stubs
branch
from
November 10, 2026 07:59
58944b8 to
2a2e2a9
Compare
Contributor
|
clang-tidy review says "All clean, LGTM! 👍" |
anutosh491
force-pushed
the
fix-ppc64le-link-stubs
branch
from
November 10, 2026 12:16
2a2e2a9 to
12ca792
Compare
Contributor
|
clang-tidy review says "All clean, LGTM! 👍" |
This branch has not been deployed
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.
The ppc64le build fails linking libclangCppInterOp.so with R_PPC64_REL24 relocations to at_quick_exit and pthread_atfork in glibc's nonshared archives.
Call these two registration functions through volatile function pointers instead. This removes the range-limited direct branches while keeping the registration behavior. The existing glibc tests cover both hooks.
I checked the generated ppc64le object code: direct calls emit R_PPC64_REL24, while the replacement uses indirect calls with no R_PPC64_REL24 relocation to either helper. The CppInterOp 2.0 feedstock backport applies cleanly, CI will verify the full link.
Failing build: https://github.com/conda-forge/cppinterop-feedstock/actions/runs/42777735733/job/129700098271