-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Call parameter type does not match function signature (with LTO enabled) #26541
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
Labels
A-linkage
Area: linking into static, shared libraries and binaries
Comments
Here's another data point (from the linked thread):
|
Triage:
No other comments in almost two years, so I'm gonna give this a close. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This seems to be an LTO related bug that the benchmarks game maintainer has come across from this page: https://alioth.debian.org/tracker/index.php?func=detail&aid=315089&group_id=100815&atid=413122 (ctrl-f for "Call parameter type"). Specifically, these are the steps:
rustc version:
rustc 1.0.0 (a59de37e9 2015-05-13) (built 2015-05-14)
If
-C lto
is removed from the finalrustc
command, then compilation succeeds.I am not able to reproduce this myself, and I suspect there probably isn't enough info here for this to be a helpful bug report. But I'm reporting it anyway in case anyone knows something.
The text was updated successfully, but these errors were encountered: