Windows: package system runtime dependencies#9662
Windows: package system runtime dependencies#9662vadimcn wants to merge 2 commits intorust-lang:masterfrom
Conversation
src/etc/snapshot.py
Outdated
There was a problem hiding this comment.
This seems like it would only dubiously work on anything other than windows.
There was a problem hiding this comment.
You mean PATH vs LIBPATH and the path separator? Yes, but this only needs to work on WIndows. I don't see the point of getting it to work on all platforms currently.
There was a problem hiding this comment.
I was thinking : vs ;. Can you add a comment saying that this is windows-specific?
There was a problem hiding this comment.
Python has os.pathsep, which is simple enough.
|
Has this been tested to make sure that the behavior is as expected? Also, this should cause snapshots to continue to work regardless of what mingw version the snapshot was built on, right? |
|
Let's think a minute about the licensing issues here. |
|
OK, since we're going to be distributing binaries of GPL code we need to include the license and a link to the source code. So here's what I think we should do:
|
|
The dlls on the win1 bot don't have a version in their metadata, but here are their dates:
|
|
I believe these are the sources for our dlls: http://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.5.2-1/ |
|
@brson: how about this? |
|
@vadimcn thanks |
This will make sure that system files that rust binaries depend on in Windows get packaged into stage0 snapshots as well as into Windows installer. Currently these include `libgcc_s_dw2-1.dll`, `libstdc++-6.dll` and `libpthread-2.dll`. Note that the latter will need to be changed to `pthreadGC2.dll` once Windows build bots get upgraded to mingw 4.0 Closes #9252 Closes #5878 Closes #9218 Closes #5712
Now that rust-lang#9662 is merged, we should be much more easily bootstrappable on windows now.
Now that #9662 is merged, we should be much more easily bootstrappable on windows now.
`result_large_err` show largest variants in err msg fixes rust-lang#9538 changelog: Sugg: [`result_large_err`]: Now show largest enum variants in error message
This will make sure that system files that rust binaries depend on in Windows get packaged into stage0 snapshots as well as into Windows installer.
Currently these include
libgcc_s_dw2-1.dll,libstdc++-6.dllandlibpthread-2.dll. Note that the latter will need to be changed topthreadGC2.dllonce Windows build bots get upgraded to mingw 4.0Closes #9252
Closes #5878
Closes #9218
Closes #5712