-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
OS no longer builds with rustc nightly 1.37.0: error: language item required, but not found: eh_personality
#629
Comments
Hi @mt-inside This behaviour is probably due to the nightly toolchain, which is unstable by nature. From time to time, a a nightly build my fail either on your main project or either on one of the dependencies because it is broken. Two "solutions" : downgrade your nightly toolchain to a previous working version (using Hope it helps. |
Thanks, I'm glad that you like it! :)
That's strange. I just tried building it with the latest nightly and it worked without errors. We also have a CI job that tries to build the project with the latest nightly once a day. Here is the build with the exact nighly that you're using and it seems like it worked fine too: https://dev.azure.com/phil-opp/blog_os/_build/results?buildId=1698 So it seems like something in your code is slightly wrong. My guess is that maybe the panic=abort syntax in your target JSON is |
Hmm. Yep, I've got It won't build on stable, fails to parse And new nightly ( I've modified the code slightly from the blog but not a huge amount. It's here if anyone wants to try: https://github.com/mt-inside/mtos I'll try to build it on a clean machine soon. |
I tried your project and it compiled and ran fine for me using Versions:
|
Ok, right, my mistake (obviously). It'd been a while since I'd worked on this, and I forgot how to build it. Sorry for wasting your time :/ And thanks so much for taking the time to help me out! |
No worries!
I agree that this isn't really intuitive. For this reason I updated the blog recently to add support for more standard-like build commands. We still need I think we can close this issue. Let me know if you have other questions! |
Hi,
First, many thanks for the series, it's amazing! I came to do the latest post today, but my OS no longer builds, presumably due to a compiler upgrade because nothing else has changed.
Compiler:
nightly-x86_64-apple-darwin unchanged - rustc 1.37.0-nightly (d3e2cec29 2019-06-26)
Error:
error: language item required, but not found:
eh_personality``The internet seems to think this is something to do with needing panic=abort? I have that in my target json file. I added it under [profile.dev] but that results in a different error:
error: linking with
ccfailed: exit code: 1
The text was updated successfully, but these errors were encountered: