-
Notifications
You must be signed in to change notification settings - Fork 97
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
Bump rustc version #2253
Bump rustc version #2253
Conversation
Confirmed that upgrading to LLVM 11 fixes the issue. |
In general we need to make sure rustc and wasm-ld (and other LLVM tools if we use them) will be the same version, otherwise as we've just seen incompatibility can cause compile errors only in some cases. I think in theory it could even cause runtime bugs. I'm trying to find out if there's a reliable way to find out what version of LLVM a given rustc binary is using. |
I can run |
If you follow the “details” link next to the evaluation job, you see the Hydra view with all the individual jobs. There, the tests have not run yet, and the failing jobs (at the moment) are related to darwin stuff. So likely, the tests will also pass on CI, once they will be built. |
Right, my question was whether the build failures look familiar. |
Should I try to bump nixpkgs maybe? |
Maybe worth a try. Might also be worth seeing whether clang11 builds in plain nixpkgs master on darwin. |
In terms of gas, 3 tests improved and the mean change is -1.1%. |
Thanks, LLVM |
"rev": "e6a184aca0d0d3252a516c317afbfa30fcc7e5d7", | ||
"sha256": "066nkgr7snnlk7q85xz38mxrfbd36b9pasdrwpbc1n6ifbx1q9mz", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You changed the commit to a rev
on master
, without chanigng the branch
field. Git doesn't tell you that, but it’ll be confusing for the next person to look at this. So before merging, make sure that the branch
field correctly says which branch the revision is from.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do.
We may not want to change the branch, I mainly wanted to see if using the latest version will fix build issues on Darwin.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, that’s what I gathered. Just leaving this comment so that this doesn't slip through in the end.
rustc PR that fixes showing LLVM version used in |
The |
It was building before nixpkgs bump too. It even passed the tests on my system. |
Unfortunately shell doesn't work for me anymore. niv doesn't build with recent GHCs, even the tip of the master branch. It's not clear what the supported version of GHC is, README doesn't mention it. |
Yes, that’s the problem with trying to upgrade nixpkgs to solve one issue, one suddenly has plenty of other issues. What was the problem we were trying to solve originally by upgrading? LLVM 11 building on darwin? If so, what I’d try is to copy |
Original problem was some kind of build error on Darwin, but I don't remember if it was LLVM or something else.
I need to clone nixpkgs, make the changes, and point to my fork in sources.json, right? |
For local experimentation, you can use |
I guess after #2542 we can try this again? Might be worth closing this rather than fixing the conflicts, though. |
We updated rustc in #2761, closing. |
This PR bumps rustc version which enables cargo's
build-std
feature(#2251) and also allows us to remove some feature flags that became
stable in the meantime (ptr_offset_from, maybe others too).
(
build-std
feature exists in the current version too, but it's toobuggy or too different than the currently documented version, so I
couldn't use it)