Hmm.  Looks like mingw released a new version with gcc 4.8 and that somehow
broke mswsock.h (though the file didn't change).


On Thu, Sep 12, 2013 at 6:56 PM, Thad Guidry <[email protected]> wrote:

> Doesn't work...
>
> Errors regarding libuv and mswsock...
>
> http://pastebin.mozilla.org/3038909
>
>
>
> On Thu, Sep 12, 2013 at 5:06 PM, Vadim <[email protected]> wrote:
>
>> Hi Brian,
>>
>> Actually, I would argue that these changes *should* be made before 0.8
>> release in order to smoothen the path of people who will install 0.8 to try
>> it out.
>>
>> Regarding the work to be done, as far as I know all you need is:
>> 1. Save libgcc_s_dw2-1.dll and libstdc++-6.dll from %mingw%\bin
>> 2. "mingw-get update"
>> 3. "mingw-get upgrade"
>>  4. run %rust%\configure  (not sure if actually needed, but won't hurt)
>> 5. "make clean"
>> 6. "make check", which will fail at building stage1 std crate because
>> step 3 upgraded libgcc and libstdc++ and stage0 compiler needs them.
>> 7. copy dlls saved in step 1 into %rust%\build\i686-pc-mingw32\stage0\bin
>> 8. "make check" again, which should succeed this time
>>
>> Can somebody please verify that this works?
>>
>>
>> Re mingw-w64: sort of works, however its' phtreads implementation seems
>> to be 
>> buggy<https://github.com/mozilla/rust/issues/8996#issuecomment-24292739>.
>> Also see this 
>> thread<http://sourceforge.net/mailarchive/forum.php?thread_name=CAKEnbTNV4iDok-k9Gg-Wmr85utFPxLf4wmAabjJZ1WaCFVE5PQ%40mail.gmail.com&forum_name=mingw-w64-public>.
>> I don't think we'll should migrate to it just yet.
>>
>> Vadim
>>
>>
>>
>> On Thu, Sep 12, 2013 at 2:10 PM, Brian Anderson <[email protected]>wrote:
>>
>>>  On 09/12/2013 12:39 PM, Thad Guidry wrote:
>>>
>>> Yeah, there should not be a reason anymore, if I am correct, to not have
>>> GCC 4.7 in MinGW for Rust Windows users anymore.  I will give that a try
>>> also , and if it works, then we can close out 
>>> (#8598<https://github.com/mozilla/rust/issues/8598>
>>> ).  (I also would like to get rid of the 4.5 downgrade needed).... but
>>> that does need more testing from the core Rust team and others.
>>>
>>>  It's something that Brian has been counting on me to help make happen,
>>> and Alex is also contributing to some of that effort by fixing various LLVM
>>> build issues that affect Windows Rust users as you mention in 
>>> (#8598<https://github.com/mozilla/rust/issues/8598>
>>> ).
>>>
>>>  Agreed, if a new stage0 compiler snapshot can be created, then we
>>> should be in the clear to also close out 
>>> #5878<https://github.com/mozilla/rust/issues/5878>
>>> .
>>>
>>>
>>>
>>> Thanks for everybody's amazing contributions to our Windows support. If
>>> somebody makes the changes necessary to work with a newer toolchain then we
>>> will upgrade the bots. It's unlikely we can do this before 0.8 though, due
>>> in two weeks.
>>>
>>> I gather that some folks would like to switch to the mingw-w64 toolchain
>>> as well. Is that in the cards here?
>>>
>>> _______________________________________________
>>> Rust-dev mailing list
>>> [email protected]
>>> https://mail.mozilla.org/listinfo/rust-dev
>>>
>>>
>>
>> _______________________________________________
>> Rust-dev mailing list
>> [email protected]
>> https://mail.mozilla.org/listinfo/rust-dev
>>
>>
>
>
> --
> -Thad
> Thad on Freebase.com <http://www.freebase.com/view/en/thad_guidry>
> Thad on LinkedIn <http://www.linkedin.com/in/thadguidry/>
>
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to