Skip to content
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

no-stc panic=abort dev builds require rust_eh_personality #48344

Closed
glandium opened this issue Feb 19, 2018 · 1 comment
Closed

no-stc panic=abort dev builds require rust_eh_personality #48344

glandium opened this issue Feb 19, 2018 · 1 comment

Comments

@glandium
Copy link
Contributor

See issue #48339, largely, but replace the foo function body with panic!("") and set panic=abort for the dev profile, and build without --release.

This leads to the error:

target/debug/libfoo.a(foo-4ef191f9b3780723.4ypvbwho0bu5tnww.rcgu.o):(.data.DW.ref.rust_eh_personality[DW.ref.rust_eh_personality]+0x0): undefined reference to `rust_eh_personality'

when linking.

@glandium
Copy link
Contributor Author

Mmmm I can't reproduce this anymore. I must have used a build that didn't actually have panic=abort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant