Skip to content
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

[Bug]: Hunter binary cache doesn't account rustc --version #2153

Closed
igor-egorov opened this issue Jul 12, 2024 · 1 comment
Closed

[Bug]: Hunter binary cache doesn't account rustc --version #2153

igor-egorov opened this issue Jul 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@igor-egorov
Copy link
Contributor

igor-egorov commented Jul 12, 2024

Bug Summary

Two or more packages build with rustc of different versions may get cached for the same hunter toolchain id which will break kagome linkage

Bug Description

Hunter (binary cache) does not account rustc --version while toolchain id or package hash gets calculated.
That may lead to having packages built with different compiler versions, as the result the appearance of rust-std symbols of different versions will break kagome from successful linking.

Possible workaround - combine all the rust packages into single.

Possible solution - expose rustc version to hunter package hash calculator + enforce same version condition.

@igor-egorov igor-egorov added the bug Something isn't working label Jul 12, 2024
@igor-egorov
Copy link
Contributor Author

cc FYI @Harrm @xDimon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants