Skip to content

Add PowerPC64 support#32

Open
runlevel5 wants to merge 4 commits intosfackler:masterfrom
runlevel5:ppc64-support
Open

Add PowerPC64 support#32
runlevel5 wants to merge 4 commits intosfackler:masterfrom
runlevel5:ppc64-support

Conversation

@runlevel5
Copy link
Copy Markdown

The implementation includes all PPC64 register definitions from libunwind-ppc64.h (GPRs, FPRs, condition registers, vector/AltiVec registers) and uses libc's getcontext() for context capture as libunwind does on this platform.

This PR is still in draft for testing purposes. Once ready, I will make it ready for review.

Add FFI bindings for libunwind on ppc64le Linux, matching the existing
pattern for x86, x86_64, and aarch64 architectures. This enables stack
unwinding on PowerPC 64-bit little-endian systems.

The implementation includes all PPC64 register definitions from
libunwind-ppc64.h (GPRs, FPRs, condition registers, vector/AltiVec
registers) and uses libc's getcontext() for context capture as
libunwind does on this platform.
@runlevel5 runlevel5 marked this pull request as ready for review January 19, 2026 12:54
@runlevel5 runlevel5 marked this pull request as draft January 19, 2026 12:55
@runlevel5
Copy link
Copy Markdown
Author

@sfackler could you please approve the CI pipeline for this PR so I could test it? Many thanks

@sfackler sfackler marked this pull request as ready for review January 19, 2026 13:55
@sfackler sfackler marked this pull request as draft January 19, 2026 13:55
@sfackler
Copy link
Copy Markdown
Owner

Done!

@runlevel5
Copy link
Copy Markdown
Author

@sfackler the pipelines do not work, errors like

Error: This request has been automatically failed because it uses a deprecated version of `actions/cache: v2`. Please update your workflow to use v3/v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down

I will make another PR to bump them to newer version

@runlevel5 runlevel5 marked this pull request as ready for review January 20, 2026 06:54
@runlevel5
Copy link
Copy Markdown
Author

@sfackler please help review for me #33. Once merged, I will add powerpc64 as new target the CI matrix in this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants