-
Notifications
You must be signed in to change notification settings - Fork 4
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
chore: fix aarch64-unknown-linux-musl build #90
Conversation
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
e2a8b33
to
2dd81ee
Compare
1341fac
to
86e6f8f
Compare
333531a
to
2ee5749
Compare
Signed-off-by: jeluard <[email protected]>
2ee5749
to
faa4ce7
Compare
Closing for now |
This PR was an attempt to fix the compilation for
aarch64-linux
(e.g. raspberry) without success so far.Here is a recap:
Using cross
Fails without proper error message:
Direct cargo cross-compilation
Using the command
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=aarch64-linux-gnu-gcc CC=aarch64-linux-gnu-gcc cargo build --target aarch64-unknown-linux-musl
On
macos-latest
Follow https://github.com/messense/homebrew-macos-cross-toolchains
Fails during compilation while compiling
libz-sys v1.1.21
On
ubuntu-latest
Fails during compilation while compiling
libz-sys v1.1.21
aarch64-linux-gnu-gcc: error: unrecognized command-line option '-m64'
On
ubuntu-24.04-arm
Fails during compilation while compiling
libz-sys v1.1.21
aarch64-linux-gnu-gcc: error: unrecognized command-line option '-m64'