Conversation
|
I am worried that I might be misusing the win-extra build step since libatomic needs to go into |
|
This has had a mean time between breaking of a few months, for several years now. I think what we may need to do is go back to the situation from before #10244 where we use the build system's gcc runtime libraries, rather than replacing them with opensuse's. The windows buildbots aren't going to be on gcc 7 for a while, so openblas, arpack, etc won't be linked against libgfortran-4, they'll still be linked against libgfortran-3. What will require testing is seeing if we have any chance of maintaining compatibility with winrpm packages. Maybe if we upgrade them from gcc 4.9 to 5.4 it'll have a better chance - there was a bug on 32 bit with 5.4 where the cygwin cross-compiler maintainer applied a patch, though it wasn't really the right patch that eventually fixed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77333. There hasn't been a gcc 5.5 release including the proper patch yet. Or we could do something to the effect of #15521 again where we use something saved from juliacache. This also probably won't help you on appveyor, since it doesn't run |
|
Just tested 3119778 using the vagrantfile at https://github.com/JuliaLang/julia/blob/master/contrib/windows/Vagrantfile (which installs the latest gcc 5.4 cross-compiler package from cygwin by default), and at least on win64 both Ipopt.jl and ZMQ.jl passed tests, which is encouraging. |
da5f47e to
299178c
Compare
|
Ok I can confirm that this works on I used the test case from #19647 and I am testing right now that all tests pass for #21959 |
299178c to
eca1f1e
Compare
|
FWIW #21959 shouldn't require this since you can still specify 16bytes alignment for |
|
I'm a little surprised this worked on appveyor, which is the last windows-related place that we're still using gcc 4. |
|
That is indeed odd, but it is installing and checking the bintray archive: |
|
Oh strange, so that mingw build of 4.9 that we've been using on appveyor (but nowhere else) has it, and the cygwin-cross build of 4.9 (which I'm still using locally, but not on the buildbots any more) doesn't. |
|
So this will break my personal setup as I've been keeping back to gcc 4.9 from cygwin locally. I'm marginally worried that I may have a harder time building llvm binary updates for appveyor that work correctly if I upgrade locally, and it's hard to undo. |
|
I'll see if I can get appveyor switched over to using cygwin instead of the current odd msys hack, which would unblock that concern. |
tkelman
left a comment
There was a problem hiding this comment.
yep we can merge this now, should be safe - CI failures are unrelated timeouts
|
Awesome to see this merged! Thanks Tony for helping me figure this out and pushing it along. |
As mentioned in #20152 (comment) we should use
libatomicon windows as well.So far we have gotten around it but in #21959 the windows CI fails due to the lack of
libatomic.