-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Build Rust with MinGW GCC 8.1.0 #51989
Conversation
We can't use try here since that doesn't run AppVeyor... we'll probably want to test locally if we decide to go ahead with this. |
I see. I've put In this case somebody with access to AWS could upload packages and open new PR superseding this one. |
@bors r+ Uploaded artifacts to S3 mirror and updated the PR |
📋 Looks like this PR is still in progress, ignoring approval. Hint: Remove [WIP] from this PR's title when it is ready for review. |
@bors r+ |
📌 Commit c3474d073a3e8a1aefa4bb3ca08e21ed31f6b992 has been approved by |
⌛ Testing commit c3474d073a3e8a1aefa4bb3ca08e21ed31f6b992 with merge 4103f528f03fcd2016e4fdabf4f3203a35d2cfc9... |
💔 Test failed - status-appveyor |
Okay, I wrongly assumed it will work on 32bit if it works on 64bit... I'll prepare 32bit environment over the weekend and see if I can fix it. |
So I ran over dozen of builds locally with i686 GCC 8.1 from mingw-builds with different configure and build options and I was unable to reproduce this error. I looked into |
@mati865 the Emscripten LLVM is based on LLVM 4 which is pretty old at this point, but if there's a patch to send we can push it to our branch and try to fix the compile? |
@alexcrichton the thing is I cannot reproduce this error locally with the same compiler and |
@mati865 I can reproduce locally if I download the same compiler, enable emscripten, and then |
So it turns out running
When I'll test everything again when I fix my |
Hm odd! I set a custom PATH myself and it worked (via |
Okay Travis didn't complain, I think it can be tried again. |
@bors: r+ |
📌 Commit c1da82a20b548d5f1d21dff3e8da1f6e28547452 has been approved by |
⌛ Testing commit 3fdafc8 with merge 5be69306aa065f8106e91f42d101e88612335cba... |
💔 Test failed - status-travis |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
Oh well, the machine got killed. @bors retry |
⌛ Testing commit 3fdafc8 with merge 2b6cd0393bb5c5a3b57e6567beafafb5c1542ac4... |
💔 Test failed - status-appveyor |
Ok, this consistently runs out of memory. |
There might be no easy fix for that, current AppVeyor configuration has 4 cores and 6 GiB memory + 1 GiB swap which should suffice.
|
Hmm, @rust-lang/infra, what's the best way to handle this? |
Fow now AFAIK we don't have a pressing need to upgrade GCC, so it's unlikely to receive a lot of effort to help push it over the finish line. If no one can think of a solution off the top of their heads we should likely close this for now |
While this bug is quite problematic I do agree there is no straightforward fix for now. I'll reach out mingw-w64 developers to see if something can be done. |
Ok, thanks regardless for pushing on this though @mati865! |
I've tested it locally on Windows 10 and Wine and it seems to fix #47048.
GDB also should be fixed: #40184 (comment)
This commit is not meant to be merged as is but to run tests with new toolchain.
If it succeeds it can be considered to push toolchain packages to AWS and begin using them.