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

Compilation error on ARM 64bit architecture #35416

Closed
massimilianopetra opened this issue Mar 4, 2024 · 1 comment
Closed

Compilation error on ARM 64bit architecture #35416

massimilianopetra opened this issue Mar 4, 2024 · 1 comment
Labels
community Community contribution

Comments

@massimilianopetra
Copy link

Compilation for Raspberry Pi 4 with 64-bit ARM architecture does not work.
Below is the error encountered during compilation:

error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
--> programs/bpf_loader/src/syscalls/mod.rs:482:21
|
482 | Ok(unsafe { std::mem::transmute::<u64, &mut T>(host_addr) })
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: u64 (64 bits)
= note: target type: &mut T (32 bits)

Compiling solana-account-decoder v1.19.0 (/home/mpetra/solana/account-decoder)
Compiling solana-compute-budget-program v1.19.0 (/home/mpetra/solana/programs/compute-budget)
Compiling protobuf-src v1.1.0+21.5
Compiling quinn-proto v0.10.6
Compiling solana-vote v1.19.0 (/home/mpetra/solana/vote)
For more information about this error, try rustc --explain E0512.
error: could not compile solana-bpf-loader-program (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...

@massimilianopetra massimilianopetra added the community Community contribution label Mar 4, 2024
Copy link
Contributor

github-actions bot commented Mar 4, 2024

This repository is no longer in use. Please re-open this issue in the agave repo: https://github.com/anza-xyz/agave

@github-actions github-actions bot closed this as completed Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Community contribution
Projects
None yet
Development

No branches or pull requests

1 participant