-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Adjust gcc runtime library handling in windows build #20152
Conversation
This reverts commit 7b4077f.
downloading from opensuse to possibly work around winrpm issues for now it's likely going to be fragile to use opensuse runtime libs with the old cygwin toolchain, will have to see
13.2 is ending support soon
this should support fractional sleep now
Does OpenSuse 42.2 still provide GCC 4.9.2 compatibility? Looking at the repositories they seem to only provide 6.2. [1] http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_42.2/noarch/mingw32-libatomic1-6.3.0-1.1.noarch.rpm Lines 313 to 327 in d3bac6e
|
They only provide 6.2, which is why this is sort of fragile. Until we fix https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77333 or fix libgmp's build system so clang can build it properly on windows, we will have to stick with cygwin's old 4.9.2 compiler in order for the buildbots to still be capable of building win32 julia correctly (ref #18162). So Julia and deps will continue to be built using cygwin's 4.9.2, but we're replacing the runtime dll's with those from opensuse so packages from winrpm work. This isn't guaranteed to work, we get somewhat lucky that it does. We actually had already been replacing the runtime dll's in the binaries with an older gcc 5 set from opensuse that I saved, rather than the latest version from opensuse which is subject to change over time. |
Yeah that's what I thought. So we can't depend on |
In what sense? We can't currently assume the compiler used to build Julia has libatomic, so we couldn't add it as a call to |
While the backport for 0.5 is pending, is there an easy manual fix for this issue? |
Yeah, should be just copy the |
@tkelman this is @huckl3b3rry87 and I am trying to get some code to work on a labmates computer, but when I run https://github.com/JuliaPackaging/WinRPM.jl/pull/97/files I get |
I wasn't accounting for the possibility of that file not being there yet, thanks for testing! Try JuliaPackaging/WinRPM.jl@9bee07c |
Thanks for the response! I downloaded the file from And I put it in the /bin. Thanks! |
Delete the newer copies and rename the |
This fixes my problem. Now Ipopt is well working, thanks. |
I keep going back and forth on this. This is going back to using the opensuse runtime libs (and adding libwinpthread since they've switched threading models), which might help with jump-dev/Ipopt.jl#77 but may also change at any moment which could suddenly break appveyor if nightlies pull in some ABI incompatibility...