Closed
Description
On Lubuntu 12 PPC
Kernel 3.2.0-126-powerpc-smp
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Advice much appreciated.
Compiling proc-macro2 v1.0.24
error: could not compile `proc-macro2`
Caused by:
process didn't exit successfully: `/home/me/rust/build/powerpc-unknown-linux-gnu/stage0/bin/rustc --crate-name build_script_build --edition=2018 /home/me/.cargo/registry/src/github.tiyicn.workers.dev-b420f105fcaca6de/proc-macro2-1.0.24/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=6dced1cd75b14157 -C extra-filename=-6dced1cd75b14157 --out-dir /home/me/rust/build/bootstrap/debug/build/proc-macro2-6dced1cd75b14157 -L dependency=/home/me/rust/build/bootstrap/debug/deps --cap-lints allow -Cdebuginfo=2 -Wrust_2018_idioms -Wunused_lifetimes -Dwarnings` (signal: 4, SIGILL: illegal instruction)
failed to run: /home/me/rust/build/powerpc-unknown-linux-gnu/stage0/bin/cargo build --manifest-path /home/me/rust/src/bootstrap/Cargo.toml
Build completed unsuccessfully in 0:04:00
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
Aaron1011 commentedon Apr 12, 2021
@mzryz: Can you provide a backtrace from the core dump (assuming one was generated)?
mzryz commentedon Apr 13, 2021
Hi Aaron, for some reason my system isn't providing a core dump. It's a sysv lubuntu. I made sure apport and gdb are installed and enabled. No core inside the build dir or in /proc/kernel etc. Not sure why.
glaubitz commentedon May 27, 2021
Most likely the same as #81334 (due to the SIGILL).
Also, you might want to update to a more modern Linux distribution for 32-bit PowerPC: https://cdimage.debian.org/cdimage/ports/snapshots/2021-04-17/
glaubitz commentedon May 29, 2021
Regression was introduced by 0328e69
See #81334
mzryz commentedon Sep 29, 2021
closing issue as do not have the system anymore.
glaubitz commentedon Sep 29, 2021
That's okay, the issue has been fixed in the meantime. #85807 ;)