-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
rust: Update to 1.18.0 #2448
rust: Update to 1.18.0 #2448
Conversation
Adding some notes. alexcrichton seems to think the previous patch is no longer needed so that is why I removed that download.py doesn't exist in cargo anymore so I removed that patch also. I also updated the powershell work around into something that would not break other targets. Also the merge of llvm 4.0 has been done here so we should be able to use the prebuilt llvm package now when that is updated to 4.0 |
Maybe our rust was miscompiled, search for strings like rust-lang/rust#39357 was fixed on master by rust-lang/rust@ad3f6e0 but Rust is using Firefox like release model. rust-lang/rust#37609 also didn't make it for 1.17 and porting all LLVM changes would be very intrusive. |
Ok I'm an idiot since we have CI logs... |
updated to fix a bad patch and remove
The sha256 verify step fails in python with using the prebuilt version |
I have no clue what's going on. |
You can try with new 1.18 version. |
Thanks, I saw the release yesterday. :) |
Upstream rust now uses mingw-builds for all it's mingw-w64 toolchains. I managed to get 1.18.0 bootstrapped in the last hour while waiting for work related stuff to build. Couple of notes.
I renamed
Doubt it will be an issue but just noting it.
I will at some point split the llvm and clang packages into different PKGBUILD files to make this kind of thing much easier, I noticed alpine linux ships Anyway this should be good to merge and ship. :) I got a |
They don't use MSYS2 toolchains, it's still mingw-builds but updated to 6.3.0 and with pthread. Llvm-config should be fine, I've patched it. I'll check this PR when I return home. |
Hmm an actual look at the gcc shipped with it I think you are right.
Will update comments to reflect. There are a few other things to ship for llvm like |
Damn, looks like 1.18 comes with GCC 6.2.0 with Windows threads |
libwinpthreads from mingw-w64 you mean? Now we just need to see the last of the clang patches land and we can shipit without gcc :) |
I thought |
Run updpkgsums: |
Yeah that happened because I never ran it after stashing some changes :) Also note that cargo seems to be broken with private git repos. |
@martell our Rust was very error-prone and Rust is supposed to be build by previous stable or newer toolchain (here we have 1.15.1 -> 1.18). Another thing to consider is rustup, official and recommend way to install Rust on every supported OS. |
@mati865 We will not use 1.15.1 to build this. I don't think we should use rustup for anything in msys2 packages, it will create a bunch of more bug reports for us because of mixing toolchains etc |
rust is at 1.29.2 now (https://packages.msys2.org/base/mingw-w64-rust), so this can be closed I guess? |
wip: this is broken atm.
It try's to use
u128
andi128
which are nightly features@mati865 I know you have done a lot of work here so might be best to CC you on this.