Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support cross-compiling drgn #431

Open
osandov opened this issue Sep 19, 2024 · 2 comments
Open

Support cross-compiling drgn #431

osandov opened this issue Sep 19, 2024 · 2 comments

Comments

@osandov
Copy link
Owner

osandov commented Sep 19, 2024

I have heard a handful of anecdotes about drgn failing to cross-compile, although I haven't tried it myself. I'm guessing that the issue is mainly how we conflate the build Python, which we to generate code in several places, and the host/target Python. We should make this work. If anyone has a specific way they've tried to cross-compile that doesn't work, I'd love to see it.

@osandov
Copy link
Owner Author

osandov commented Sep 20, 2024

The latest reported issue was Gentoo-specific. This is the fix to the ebuild: https://gist.github.com/osandov/59dd12a575c8026bda009d609e184f93.

@osandov
Copy link
Owner Author

osandov commented Sep 21, 2024

Filed a Gentoo bug: https://bugs.gentoo.org/939942

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

No branches or pull requests

1 participant