-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Open
Labels
A-crossArea: Cross compilationArea: Cross compilationA-linkageArea: linking into static, shared libraries and binariesArea: linking into static, shared libraries and binariesC-bugCategory: This is a bug.Category: This is a bug.O-PowerPCTarget: PowerPC processorsTarget: PowerPC processorsO-x3232 bit ABI for x86-6432 bit ABI for x86-64O-x86_32Target: x86 processors, 32 bit (like i686-*) (also known as IA-32, i386, i586, i686)Target: x86 processors, 32 bit (like i686-*) (also known as IA-32, i386, i586, i686)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
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
Metadata
Metadata
Assignees
Labels
A-crossArea: Cross compilationArea: Cross compilationA-linkageArea: linking into static, shared libraries and binariesArea: linking into static, shared libraries and binariesC-bugCategory: This is a bug.Category: This is a bug.O-PowerPCTarget: PowerPC processorsTarget: PowerPC processorsO-x3232 bit ABI for x86-6432 bit ABI for x86-64O-x86_32Target: x86 processors, 32 bit (like i686-*) (also known as IA-32, i386, i586, i686)Target: x86 processors, 32 bit (like i686-*) (also known as IA-32, i386, i586, i686)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.