Summary: | dev-lang/rust-1.62.1: Fails to build on big endian arm64 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marcus Comstedt <marcus> |
Component: | Current packages | Assignee: | Gentoo Rust Project <rust> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | navi, randy, rust |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Complete build log
Output from emerge --info |
Created attachment 824701 [details]
Output from emerge --info
Yeah profile should add wd40 feature, there’s no upstream bootstrap tarball for arm64_be, and no plans to provide one like we do for sparc. |
Created attachment 824699 [details] Complete build log When attempting to emerge dev-lang/rust-1.62.1 under the default/linux/arm64/17.0/big-endian profile, the build fails with the following message: OSError: [Errno 8] Exec format error: '/var/tmp/portage/dev-lang/rust-1.62.1/work/rust-stage0/bin/cargo' This is because the cargo binary it's trying to run is compiled for little endian: # file '/var/tmp/portage/dev-lang/rust-1.62.1/work/rust-stage0/bin/cargo' /var/tmp/portage/dev-lang/rust-1.62.1/work/rust-stage0/bin/cargo: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 4.2.6, with debug_info, not stripped #