-
Notifications
You must be signed in to change notification settings - Fork 48
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
AArch64 support broken? #33
Comments
ARM is meant to be supported, and I regularly use this library on ARM. However, I run Fundamentally the issue is that bindgen is generating bindings for x86, and varargs implementations are ABI/cconv dependent. I think with this issue and with #27, there's a clear need to either pregenerate bindings specifically for different architectures and then conditionally compile in the right one, or to start generating bindings at |
Just looking through |
@alexforster Any ideas on this? What's your preferred way of moving forward? |
@rsdy I'd say let's give it a try? Are you willing to prepare a PR with these changes? |
As of the current release, you can now generate bindings during build time using a new feature flag called
Please let me know if this fixes your issue. |
The latest libbpf-sys does build on aarch64, at least when cross-compiling, as you can see here. I can’t examine your log, because: Error: The log was not found. It may have been deleted based on retention settings.. |
With redbpf, we recently started migrating to
libbpf-sys
from our own wrapper that preceded this project. However, our CI quickly flagged up an error on aarch64, which I think we can only address by partially reverting to generating our own bindings to certain calls.My question is whether we're mis-using
libbpf-sys
, or is this a known limitation? I couldn't find other than AMD64 compatibility in the CI.I'd be happy to dig deeper on this, just wanted to get a confirmation if you have any experience on this front.
Thanks!
The text was updated successfully, but these errors were encountered: