Uh oh!
There was an error while loading. Please reload this page.
[Windows] Enable building rustc with "pthreads" flavor of mingw. - #40805
Conversation
alexcrichton
commented
Mar 27, 2017
r+ from me! Let's see if we can land #40524 though to rebase out the original commit (that PR has had some fixes/revisions as well) |
alexcrichton
commented
Mar 27, 2017
er, land that first though* |
TimNN
commented
Mar 27, 2017
I think the appveyor config still needs to be adjusted -- either to remove the custom mingw downloads or to replace the mingw downloads with the pthread versions (to make us independent from changes to the appveyor build environment). |
alexcrichton
commented
Mar 27, 2017
Ideally I'd actually prefer if we didn't have to change the toolchain because that would signify a large breaking change that'd be much more difficult to deal with. I think @vadimcn said though that the dll/staticlib were present in both toolchains, they'd just be ignored on the win32 threading one I think. |
TimNN
commented
Mar 27, 2017
Mh, wasn't the whole point of this that we could switch to the pthread toolchains, because they implement |
alexcrichton
commented
Mar 27, 2017
Ah true yes, we'll want to switch compiling the compiler to the pthreads toolchain. I'd like to see if this lands alone though because we should continue to be able to work with a win32 toolchain. Maybe one day we can add a bot for that but in the meantime we just need to make sure there's a transition path for win32 toolchain users to the pthread toolchain. At the very least we can land the pthread compiler change for rustc in the llvm 4.0 PR, but I'd also be fine with a separate pr (after this one) to do that change independently. |
bors
commented
Mar 30, 2017
☔ The latest upstream changes (presumably #40524) made this pull request unmergeable. Please resolve the merge conflicts. |
Make sure we link to the static libpthread, so that compiled Rust binaries do not depend on winpthread1.dll.
vadimcn
commented
Mar 31, 2017
@bors r=alexcrichton |
bors
commented
Mar 31, 2017
📌 Commit ad3f6e0 has been approved by |
bors
commented
Mar 31, 2017
⌛ Testing commit ad3f6e0 with merge 273fcd1... |
bors
commented
Mar 31, 2017
💔 Test failed - status-appveyor |
alexcrichton
commented
Mar 31, 2017
via email
| … On Fri, Mar 31, 2017 at 8:09 AM, bors ***@***.***> wrote:
💔 Test failed - status-appveyor
<https://ci.appveyor.com/project/rust-lang/rust/build/1.0.2653>
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#40805 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAD95Mlgt9vibjc4ZysJM0iJIlVXlDKuks5rrQkwgaJpZM4Mo2jd>
.
|
bors
commented
Apr 1, 2017
⌛ Testing commit ad3f6e0 with merge c374e2f... |
bors
commented
Apr 1, 2017
💔 Test failed - status-travis |
alexcrichton
commented
Apr 1, 2017
via email
| … On Sat, Apr 1, 2017 at 6:46 AM, bors ***@***.***> wrote:
💔 Test failed - status-travis
<https://travis-ci.org/rust-lang/rust/builds/217503973>
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#40805 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAD95EpRLXJ_c9mNfzpqd3tzc1zuzj_lks5rrkcSgaJpZM4Mo2jd>
.
|
bors
commented
Apr 1, 2017
⌛ Testing commit ad3f6e0 with merge a3d82bd... |
| } | ||
| } | ||
| // LLVM requires symbols from this library, but apparently they're not printeds |
bors
commented
Apr 1, 2017
💔 Test failed - status-travis |
alexcrichton
commented
Apr 1, 2017
@bors: retry
|
bors
commented
Apr 2, 2017
⌛ Testing commit ad3f6e0 with merge 597944d... |
bors
commented
Apr 2, 2017
💔 Test failed - status-travis |
vadimcn
commented
Apr 2, 2017
Another sccache failure? |
TimNN
commented
Apr 2, 2017
Looks like it :( |
vadimcn
commented
Apr 2, 2017
@bors: retry |
bors
commented
Apr 2, 2017
⌛ Testing commit ad3f6e0 with merge cd6f950... |
bors
commented
Apr 2, 2017
💔 Test failed - status-travis |
alexcrichton
commented
Apr 3, 2017
via email
| … On Sun, Apr 2, 2017 at 4:30 AM, bors ***@***.***> wrote:
💔 Test failed - status-travis
<https://travis-ci.org/rust-lang/rust/builds/217730842>
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#40805 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAD95Eifog6KoDeWaTdW26PK1b920BFnks5rr3ivgaJpZM4Mo2jd>
.
|
bors
commented
Apr 5, 2017
⌛ Testing commit ad3f6e0 with merge 49133bb... |
bors
commented
Apr 5, 2017
💔 Test failed - status-appveyor |
TimNN
commented
Apr 5, 2017
bors
commented
Apr 6, 2017
[Windows] Enable building rustc with "pthreads" flavor of mingw. Tested on mingw-w64 packaged with msys2. r? @alexcrichton cc #40123
bors
commented
Apr 6, 2017
☀️ Test successful - status-appveyor, status-travis |
alexcrichton
commented
May 5, 2017
This PR caused a few regression such as #41416 and #41607 so tagging relnotes at least. We haven't reverted yet and if we end up not doing so we'll want to mention this in compatibility nodes, namely:
|
Tested on mingw-w64 packaged with msys2.
r? @alexcrichton
cc #40123