-
Notifications
You must be signed in to change notification settings - Fork 86
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
LTO support broken #125
Comments
Link time optimization isn't possible between the static library OS and application because the linker uses afterwards SSE/AVX instructions in the kernel. This isn't allowed because it is possible that these instructions triggers an interrupt. However, https://doc.rust-lang.org/cargo/reference/profiles.html#lto explains that a "thin local link time optimization" on the local crate is still possible (by setting |
The current compiler creates invalid code, if we enable LTO support. Consequently, we disable temporary the support.
The text was updated successfully, but these errors were encountered: