-
Notifications
You must be signed in to change notification settings - Fork 13.3k
regression under openbsd: undefined reference to _Unwind_Resume
#24108
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
Comments
I have the same issue. It worked fine in nightly c89de2c (2015-03-28), but now in nightly 47def3e (2015-04-13) I get these errors when trying to link my standalone kernel with libcore:
It only happens when I use my custom
If I try to add
...Rust gives me this error instead:
Is there a solution or workaround?
|
@Virtlink you could try to explicitly link with libgcc by providing |
@semarie Can that be done through Cargo too? As I've only used Cargo up to now. |
I really don't known... (I don't have cargo on openbsd). You could try to add |
…excrichton the code block in the no-stdlib.md file caused test failure on bitrig and openbsd. Closes rust-lang#24108
…excrichton the code block in the no-stdlib.md file caused test failure on bitrig and openbsd. Closes rust-lang#24108
…excrichton the code block in the no-stdlib.md file caused test failure on bitrig and openbsd. Closes rust-lang#24108
I have noted a regression in
make check
starting from 263fdfe (found with bisect).the failing test is one of
doc-trpl-no-stdlib
. The fail occurs with stage1 and with stage2 (it have help a lot for bisect: only 50 min for 1 step of bisect)I extract the example to a standalone file, and manually run rustc: the error is a linking error:
it seems -lgcc isn't passed by rustc, whereas the symbol
_Unwind_Resume
was present inoption::Option<T>::and_then
.Any help would be appreciate.
The text was updated successfully, but these errors were encountered: