-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
rust/12 bindgen
fails on aarch64
#13417
Comments
Sigh, of course the tls-dialect options are different on aarch64 and x86_64... I really just need an argument that GCC takes that Clang doesn't. |
Looking through the GCC manual, I can see a few options that shouldn't make much of a difference to the compilation, and are supported by GCC and not (my version of) Clang, e.g. |
Yeah, I really wanted a |
Please try something like |
-m arguments aren't portable across architectures. -fipa-pta will hopefully be portable for gcc, but also not implemented by clang. Fixes: mesonbuild#13417
-m arguments aren't portable across architectures. -fipa-pta will hopefully be portable for GCC, but also not implemented by clang. Fixes: mesonbuild#13417
Describe the bug
This test adds
-mtls-dialect=gnu2
to the C compiler arguments. This is fine on x86_64, but not on aarch64, where that option doesn't exist:cc @dcbaker
To Reproduce
In a fresh fedora container:
Expected behavior
Test passes.
system parameters
meson --version
0392722ninja --version
if it's a Ninja build 1.12.1The text was updated successfully, but these errors were encountered: