You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
alecmocatta opened this issue
Jun 17, 2020
· 0 comments
· Fixed by #73564
Labels
A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsC-bugCategory: This is a bug.O-muslTarget: The musl libc
This aborts when built with rust-lld + musl on stable and nightly:
fnmain(){panic!();}
$ rustc --target x86_64-unknown-linux-musl main.rs && ./main
thread 'main' panicked at 'explicit panic', main.rs:2:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
$ rustc --target x86_64-unknown-linux-musl -C linker=rust-lld main.rs && ./main
thread 'main' panicked at 'explicit panic', main.rs:2:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5
Aborted (core dumped)
The text was updated successfully, but these errors were encountered:
jonas-schievink
added
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
A-runtime
Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows
O-musl
Target: The musl libc
labels
Jun 17, 2020
linker: Create GNU_EH_FRAME header by default when producing ELFs
Do it in a centralized way in `link.rs` instead of individual target specs.
The opt-out is `-Clink-arg=(-Wl,)--no-eh-frame-hdr` if necessary.
Fixesrust-lang#73451
cc rust-lang#73483
linker: Create GNU_EH_FRAME header by default when producing ELFs
Do it in a centralized way in `link.rs` instead of individual target specs.
The opt-out is `-Clink-arg=(-Wl,)--no-eh-frame-hdr` if necessary.
Fixesrust-lang#73451
cc rust-lang#73483
A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsC-bugCategory: This is a bug.O-muslTarget: The musl libc
This aborts when built with rust-lld + musl on stable and nightly:
The text was updated successfully, but these errors were encountered: