I've been able to start back on rust-lang
, and have been pushing updates.
I think I've finalized aarch64
, arm
, armv7
, mips
, mipsel
, mips64
, and x86_64
. The arm
/armv7
should now correctly determine if the target needs hard-float or not.
powerpc
has been dropped from the package for now, as it seems to have LLVM issues. For anyone who wants to test rust-lang
for powerpc
, I've left provisions in the Makefile
to pass the correct defines (--D__ppc__
) to LLVM for powerpc
targets if it's called directly (make package/feeds/packages/rust/host/{clean,compile}
), but it isn't enabled in the rust-lang
package DEPENDS
This is simply at the stage rust-lang
toolchain compiles, and I've not tested that they successfully cross-compile, or that the cross-compiled package actually works correctly, for any ARCH other than mips64
and mipsel
. I have no reason to suspect it won't work, but early on I ran into issues with mips64
where it compiled both the toolchain and suricata6
but would immediately SIGILL
because of the static vs dynamic linking (musl
issue). I had no indication of an issue until it just died on the device.
If anyone would like to test and see if rust-lang
builds for your target, I'd appreciate the feedback. If anyone has a target ARCH not listed, let me know (I don't play outside of the very confined world of the Octeon MIPS64 branch often) as I'm not up on the other ARCHs.
21M dl/rust-1.56.1-aarch64-unknown-linux-musl-install.tar.xz
20M dl/rust-1.56.1-arm-unknown-linux-musleabihf-install.tar.xz
20M dl/rust-1.56.1-armv7-unknown-linux-musleabihf-install.tar.xz
22M dl/rust-1.56.1-mips64-unknown-linux-muslabi64-install.tar.xz
20M dl/rust-1.56.1-mipsel-unknown-linux-musl-install.tar.xz
364M dl/rust-1.56.1-x86_64-unknown-linux-gnu-install.tar.xz
22M dl/rust-1.56.1-x86_64-unknown-linux-musl-install.tar.xz
109M dl/rust-1.56.1.tar.xz
I'm also verifying arm-unknown-linux-musleabi
and expect it should compile correctly.
Appreciate any help or feedback!