Description
Problem
I have sucessfully compiled a static librsvg for 10 targets (1 native and 9 crosses) but my last target is giving me problems.
"export RUSTFLAGS='-C target-cpu=mips32'" sorts out the code in the tarball but I still have unimplemented opcodes in the compiler libraries for target mipsel-unknown-linux-gnu (see "unimplemented opcodes.txt") i.e. opcodes for mips32r2 (i.e. mips32 version 2 as per gcc compiler default, not version 1 as per my target).
I then installed Xargo to try and produce a set of standard libraries that can be run by every processor in the supported cpu list for the target. It fails on the last step with an internal compiler error (see "rust error.txt", the ... represents every step with no error, as re-iterated in the error message).
As Xargo is based on the nightly build, if I just have to wait for the internal bug to be fixed so I can generate my own standard libraries that is fine.
rust error.txt
unimplemented opcodes.txt
Please note that my prefered solution is that the standard libraries for rust can be executed by every cpu on the supported list for the target.
Steps
No response
Possible Solution(s)
No response
Notes
No response
Version
debian@debian:~$ cargo version --verbose
cargo 1.66.0-nightly (f5fed93ba 2022-09-27)
release: 1.66.0-nightly
commit-hash: f5fed93ba24607980647962c59863bbabb03ce14
commit-date: 2022-09-27
host: x86_64-unknown-linux-gnu
libgit2: 1.5.0 (sys:0.15.0 vendored)
libcurl: 7.83.1-DEV (sys:0.4.55+curl-7.83.1 vendored ssl:OpenSSL/1.1.1q)
os: Debian 11 (bullseye) [64-bit]
debian@debian:~$ xargo version --verbose
+ "cargo" "version" "--verbose"
cargo 1.66.0-nightly (f5fed93ba 2022-09-27)
release: 1.66.0-nightly
commit-hash: f5fed93ba24607980647962c59863bbabb03ce14
commit-date: 2022-09-27
host: x86_64-unknown-linux-gnu
libgit2: 1.5.0 (sys:0.15.0 vendored)
libcurl: 7.83.1-DEV (sys:0.4.55+curl-7.83.1 vendored ssl:OpenSSL/1.1.1q)
os: Debian 11 (bullseye) [64-bit]
debian@debian:~$