Skip to content

core::arch tests ICE rust in release mode (SIGSEGV) #57993

Closed
rust-lang/stdarch
#661
@gnzlbg

Description

@gnzlbg

To reproduce:

git clone https://github.com/rust-lang-nursery/stdsimd
cd stdsimd/crates/core_arch
cargo build --release 
cargo test --release

Here cargo test --release fails with:

error: Could not compile `core_arch`.

Caused by:
  process didn't exit successfully: `rustc --crate-name core_arch crates/core_arch/src/lib.rs 
--color always --emit=dep-info,link -C opt-level=3 -C debuginfo=1 --test 
-C metadata=e182289efaf15ad2 -C extra-filename=-e182289efaf15ad2 
--out-dir stdsimd/target/release/deps -C incremental=stdsimd/target/release/incremental 
-L dependency=stdsimd/target/release/deps 
--extern std_detect=stdsimd/target/release/deps/libstd_detect-9c6c529b12e45786.rlib 
--extern stdsimd_test=stdsimd/target/release/deps/libstdsimd_test-16ca4dda6e920c9c.rlib`

 (signal: 11, SIGSEGV: invalid memory reference)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.T-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