Skip to content

SIGILL Illegal Instruction on PPC64 #110278

Open
@barf

Description

@barf

Unable to install rust on Debian Bookworm PPC64 (POWER5+)

Meta

rustc --version --verbose:

Illegal instruction

When running cargo from rust 1.68.2-powerpc64-unknown-linux-gnu (downloaded from the rust website), I get the following backtrace

Backtrace

#0  std::sys::unix::stack_overflow::imp::make_handler () at library/std/src/sys/unix/stack_overflow.rs:160
#1  0x0000000100eded3c in std::sys::unix::stack_overflow::imp::init () at library/std/src/sys/unix/stack_overflow.rs:123
#2  std::sys::unix::init () at library/std/src/sys/unix/mod.rs:69
#3  std::rt::init () at library/std/src/rt.rs:97
#4  std::rt::lang_start_internal::{closure#1} () at library/std/src/rt.rs:147
#5  std::panicking::try::do_call<std::rt::lang_start_internal::{closure_env#1}, ()> () at library/std/src/panicking.rs:483
#6  std::panicking::try<(), std::rt::lang_start_internal::{closure_env#1}> () at library/std/src/panicking.rs:447
#7  std::panic::catch_unwind<std::rt::lang_start_internal::{closure_env#1}, ()> () at library/std/src/panic.rs:140
#8  std::rt::lang_start_internal () at library/std/src/rt.rs:147
#9  0x000000010033f328 in main ()

To hazard a guess this binary has been built for some specific/newer POWER target and not the generic POWER4/POWER5 supported by Debian

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.O-PowerPCTarget: PowerPC processorsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions