You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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...
The text was updated successfully, but these errors were encountered:
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 errorwarning: build failed, waiting for other jobs to finish...
The text was updated successfully, but these errors were encountered: