-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing rust_begin_unwind
symbol for msp430 (debug-only?) builds
#102290
Labels
C-bug
Category: This is a bug.
O-msp430
P-medium
Medium priority
regression-untriaged
Untriaged performance or correctness regression.
Comments
cr1901
added
C-bug
Category: This is a bug.
regression-untriaged
Untriaged performance or correctness regression.
labels
Sep 25, 2022
rustbot
added
the
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
label
Sep 25, 2022
WG-prioritization assigning priority (Zulip discussion). thanks @cr1901 for the bisection. It leads to #100404 cc: @belovdv @rustbot label -I-prioritize +P-medium |
rustbot
added
P-medium
Medium priority
and removed
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
labels
Sep 26, 2022
This is a different issue. |
This should be fixed by #103240. |
Aaron1011
pushed a commit
to Aaron1011/rust
that referenced
this issue
Jan 6, 2023
Add architectures to fn create_object_file Fixes rust-lang#102290 r? `@petrochenkov`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-bug
Category: This is a bug.
O-msp430
P-medium
Medium priority
regression-untriaged
Untriaged performance or correctness regression.
Code
Instructions
msp430-elf-gcc
toolchain is installed. Optionally installjust
for convenience.git clone https://github.com/cr1901/msp430-size
. Use commit 036da7a specifically.2022-09-08
(I am using2022-09-21
/9062b780b32d2eab060b4432863e085d9504ca5c
for the error below).With a working compiler (I used
2022-08-10
/34a6cae28e7013ff0e640026a8e46f315426829d
for this example), I expect compilation to succeed:Instead, I get a link error about a missing
rust_begin_unwind
symbol, and cannot link any code that doesn't optimize it out (so everything withopt-level=0
and sometimes higheropt-level
s?):The
msp430-none-elf
target doesn't support unwinding (and I don't imagine it ever will), only aborting panics. So I'm not sure whyrust_begin_unwind
is being linked in in the first place (or how compilation should be fixed).cargo-bisect-rustc
output (Version it worked on/Version with regression)searched nightlies: from nightly-2022-08-07 to nightly-2022-09-21
regressed nightly: nightly-2022-09-08
searched commits: from 78a891d to c2804e6
regressed commit: 699bfa8
bisected with cargo-bisect-rustc v0.6.0
Host triple: x86_64-unknown-linux-gnu
Reproduce with:
The text was updated successfully, but these errors were encountered: