4 ms·
I had an issue where a Rust application, which I had compiled on a Radxa ROCK 5B, would nor run on a Raspberry Pi 4; I had to compile it again for it. Both were
by qwertox 2y ago
I had an issue where a Rust application, which I had compiled on a Radxa ROCK 5B, would nor run on a Raspberry Pi 4; I had to compile it again for it. Both were running Ubuntu 22.04, 64 bit.
Why would that be and how would this affect these Arm64 compiles on GitHub?
If you compile a normal application for amd64, it will work on any 64 bit Intel and AMD machine, unless you start using specialized features, which wasn't the case in the above mentioned case.
- written-beyond 2y agoWhat was the error you were getting when you tried to run on the RPI?
- rami3l 2y agoThis reminds me of one issue that I've encountered at Rustup. Early versions of ARM64 Pi OS actually use a 32-bit userland. As a result, this has caused user complaints since our installer sees a 64-bit kernel and will happily download a 64-bit binary (which will then refuse to run): https://github.com/rust-lang/rustup/issues/3307#issuecomment-1732175383 https://github.com/rust-lang/rustup/issues/3307#issuecomment...