Open
Description
I have been trying to get rust to cross-compile from an x86 system to a ppc32 host/target but the build process errors out in the stage1 phase.
My experience is fairly limited but it looks like it might be trying to use x86 headers for a ppc compile?
Meta
Version being built is 1.60.0 through the Alpine Linux aports repo and using abuild
Error
Copying stage1 std from stage1 (i586-alpine-linux-musl -> i586-alpine-linux-musl / i586-alpine-linux-musl)
Building stage1 compiler artifacts (i586-alpine-linux-musl -> powerpc-alpine-linux-musl)
Compiling libc v0.2.116
Compiling proc-macro2 v1.0.30
...
Compiling gimli v0.26.1
Compiling tracing v0.1.29
error: Error relocating /home/tux/aports/community/rust/src/rustc-1.60.0-src/build/i586-alpine-linux-musl/stage1-rustc/release/deps/libtracing_attributes-a36eb84df63ddcba.so: __mulodi4: symbol not found
--> /home/tux/aports/community/rust/src/rustc-1.60.0-src/vendor/tracing-0.1.29/src/lib.rs:913:9
|
913 | pub use tracing_attributes::instrument;
| ^^^^^^^^^^^^^^^^^^
error: could not compile `tracing` due to previous error
warning: build failed, waiting for other jobs to finish...
error: build failed