Skip to content

SIGILL in rustc compiling normal library crate on x86_64 #141099

Open
@xacrimon

Description

@xacrimon

I tried this:

git clone https://github.com/serenity-rs/serenity
cd serenity
cargo +1.87 check

I expected to see this happen: it compiles successfully like on my other machines

Instead, this happened:

note: we would appreciate a report at https://github.com/rust-lang/rust
error: rustc interrupted by SIGILL, printing backtrace

/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(_RNvMs1_NtCs4oVkM1pLsgj_12rustc_expand6expandNtB5_13MacroExpander12expand_crate+0x2b7) [0x7ffffec0914d]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(+0x39177df) [0x7ffffc1177df]
/usr/lib/libc.so.6(+0x3dcd0) [0x7ffff864bcd0]
/Users/joelwejdenstal/repos/serenity/target/debug/deps/libzerofrom_derive-66cf9ca2869d1d2b.so(+0xa0960) [0x7fffe76f7960]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(+0x5c1bfa6) [0x7ffffe41bfa6]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(_RNvNtCs6PtJWl2j4pF_15rustc_interface6passes25resolver_for_lowering_raw+0xb92) [0x7ffffdc8d9d2]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(_RNvMs1_NtCs4oVkM1pLsgj_12rustc_expand6expandNtB5_13MacroExpander21fully_expand_fragment+0x12f5b) [0x7ffffec1c525]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(+0x5c1c7ea) [0x7ffffe41c7ea]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(_RNvXs1_NtCs4oVkM1pLsgj_12rustc_expand10proc_macroNtB5_15DeriveProcMacroNtNtB7_4base17MultiItemModifier6expand+0x100) [0x7ffffe41e39e]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(_RNvMs1_NtCs4oVkM1pLsgj_12rustc_expand6expandNtB5_13MacroExpander12expand_crate+0x2b7) [0x7ffffec0914d]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(_RNvMs1_NtCs4oVkM1pLsgj_12rustc_expand6expandNtB5_13MacroExpander21fully_expand_fragment+0x12f5b) [0x7ffffec1c525]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(+0x548ce2f) [0x7ffffdc8ce2f]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(_RNvNtCs6PtJWl2j4pF_15rustc_interface6passes25resolver_for_lowering_raw+0xb92) [0x7ffffdc8d9d2]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(_RNvMs1_NtCs4oVkM1pLsgj_12rustc_expand6expandNtB5_13MacroExpander12expand_crate+0x2b7) [0x7ffffec0914d]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(+0x548ce2f) [0x7ffffdc8ce2f]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(_RNvNtCs6PtJWl2j4pF_15rustc_interface6passes25resolver_for_lowering_raw+0xb92) [0x7ffffdc8d9d2]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(+0x548ce1d) [0x7ffffdc8ce1d]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(+0x548ce2f) [0x7ffffdc8ce2f]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(+0x548ce1d) [0x7ffffdc8ce1d]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(+0x548ce1d) [0x7ffffdc8ce1d]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(_RINvNtNtCs9KIAUIMzaMq_18rustc_query_system5query8plumbing17try_execute_queryINtCsdCJxCJxV7jC_16rustc_query_impl13DynamicConfigINtNtB4_6caches11SingleCacheINtNtNtCsl6euo3gBA1L_12rustc_middle5query5erase6ErasedAhj10_EEKb0_KB3t_KB3t_ENtNtB1f_8plumbing9QueryCtxtKB3t_EB1f_+0x211) [0x7ffffe78f311]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(_RINvNtNtCs9KIAUIMzaMq_18rustc_query_system5query8plumbing17try_execute_queryINtCsdCJxCJxV7jC_16rustc_query_impl13DynamicConfigINtNtB4_6caches11SingleCacheINtNtNtCsl6euo3gBA1L_12rustc_middle5query5erase6ErasedAhj10_EEKb0_KB3t_KB3t_ENtNtB1f_8plumbing9QueryCtxtKB3t_EB1f_+0x211) [0x7ffffe78f311]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(_RINvNtNtCs9KIAUIMzaMq_18rustc_query_system5query8plumbing17try_execute_queryINtCsdCJxCJxV7jC_16rustc_query_impl13DynamicConfigINtNtB4_6caches11SingleCacheINtNtNtCsl6euo3gBA1L_12rustc_middle5query5erase6ErasedAhj10_EEKb0_KB3t_KB3t_ENtNtB1f_8plumbing9QueryCtxtKB3t_EB1f_+0x211) [0x7ffffe78f311]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(+0x5f8ee80) [0x7ffffe78ee80]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(+0x5f8ee80) [0x7ffffe78ee80]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(+0x6131dad) [0x7ffffe931dad]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(+0x6131dad) [0x7ffffe931dad]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(+0x6123eaa) [0x7ffffe923eaa]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(+0x6123eaa) [0x7ffffe923eaa]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(_RINvNtNtCseJswNlh1fGO_3std3sys9backtrace28___rust_begin_short_backtraceNCNCINvNtCs6PtJWl2j4pF_15rustc_interface4util26run_in_thread_with_globalsNCINvB1e_31run_in_thread_pool_with_globalsNCINvNtB1g_9interface12run_compileruNCNvCsj20AIVrSq7d_17rustc_driver_impl12run_compiler0Es_0uE0uE00uEB3C_+0x148) [0x7ffffe764f08]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(_RINvNtNtCseJswNlh1fGO_3std3sys9backtrace28___rust_begin_short_backtraceNCNCINvNtCs6PtJWl2j4pF_15rustc_interface4util26run_in_thread_with_globalsNCINvB1e_31run_in_thread_pool_with_globalsNCINvNtB1g_9interface12run_compileruNCNvCsj20AIVrSq7d_17rustc_driver_impl12run_compiler0Es_0uE0uE00uEB3C_+0x148) [0x7ffffe764f08]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(+0x5f657f4) [0x7ffffe7657f4]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(+0x5f657f4) [0x7ffffe7657f4]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(+0x5f8ee80) [0x7ffffe78ee80]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(+0x5f66bf7) [0x7ffffe766bf7]
/home/joelwejdenstal/.rustup/toolchains/1.87-x86_64-unknown-linux-gnu/lib/librustc_driver-9c23edfdcf82221e.so(+0x5f66bf7) [0x7ffffe766bf7]
/usr/lib/libc.so.6(+0x9570a) [0x7ffff86a370a]
/usr/lib/libc.so.6(+0x9570a) [0x7ffff86a370a]
/usr/lib/libc.so.6(__clone+0x44) [0x7ffff87278b4]
/usr/lib/libc.so.6(__clone+0x44) [0x7ffff87278b4]


note: we would appreciate a report at https://github.com/rust-lang/rust
note: we would appreciate a report at https://github.com/rust-lang/rust
error: rustc interrupted by SIGILL, printing backtrace
error: rustc interrupted by SIGILL, printing backtrace

OS: Linux
CPU: R5 5600X

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.E-needs-bisectionCall for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustcI-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.O-linuxOperating system: LinuxS-needs-reproStatus: This issue has no reproduction and needs a reproduction to make progress.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