-
Notifications
You must be signed in to change notification settings - Fork 90
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
Pipeline is broken with current rust nightly. #7
Comments
Building release version with lto optimization fails with nightlies after 2020-04-29, so we just use that one for now.
Building release version with lto optimization fails with nightlies after 2020-04-29, so we just use that one for now.
Building release version with lto optimization fails with nightlies after 2020-04-29, so we just use that one for now.
Yes, I am able to reproduce the problem. I think that we have to disable LTO for the release version. Afterwards it works on my system. |
@stlankes Could you also merge this into the devel branch? Also would you like to keep this issue open, or should we create a new issue for figuring out why LTO doesn't work anymore? |
Hm, a new issue will be great. I will cherry-pick the PR and merge it to the branch devel. |
The Pipeline works again since LTO has been disabled for now. Closing this issue. Further discussion of the LTO problem in #15 |
Fix loader. Previously strongly dependent on the input ELF's layout.
I'm currently working on hermit-os/kernel#40 and I just can't get the pipeline to work. Compiling (rusty_demo) always fails at the last step with
error: failed to get bitcode from object file for LTO (Bitcode section not found in object file)
This error is also present in the gitlab ci pipeline. At first I couldn't reproduce this issue on my machine.
But after updating my rust nightly I now also run into this issue on my machine.
nightly-x86_64-unknown-linux-gnu updated - rustc 1.45.0-nightly (7ced01a73 2020-04-30) (from rustc 1.44.0-nightly (45d050cde 2020-04-21))
Can anyone else reproduce this?
The text was updated successfully, but these errors were encountered: