-
Notifications
You must be signed in to change notification settings - Fork 14
Potentially work around https://github.com/JuliaLang/julia/issues/9185 #10
Conversation
This might be a x87-vs-SSE problem, since setting march to i686 for building the deps but JULIA_CPU_TARGET to pentium4 for JIT code appears to work properly. Need to verify that this doesn't bring back any of the i686 issues on 32 bit linux though.
Interesting idea. I have the feeling this is going to break |
We don't absolutely need to apply the same fix for both Windows and Linux since I think Linux 32 has not been seeing these suitesparse segfaults, but for sanity's sake it might be cleaner to keep things consistent if it works everywhere. I'd need to look into this in more detail, but I had thought GCC, at least in MinGW configuration, defaults to a fairly conservative instruction set if you don't tell it otherwise. So |
I'm not sure about |
@staticfloat Are you sure? The man page doesn't state that |
Looks like I'm wrong here.
In other good news, passing |
Potentially work around JuliaLang/julia#9185
Thanks, sounds good. I was under the assumption that Anyway, I think we should rebuild the 0.3.3 binaries for win32 with these modified flags to at least fix the segfault. I still am not sure why changes at the Julia code level would trigger those segfaults, but at least this works around it. |
I'll rebuild everything to ensure that we get our nice banners and such on all platforms. This will also be a good test to see if the "don't update status.julialang.org" logic is working properly! |
Oh boy. Just don't tell any normal people the things we find exciting. |
Literally laughed out loud at that one. |
How do we specify that the dependencies (at least suitesparse, but probably others too?) need to be cleaned and rebuilt for this kind of change? |
So far, I've been SSH'ing in and cleaning them myself. The alternative is one of:
|
Alright, you wanna test http://julianightlies.s3.amazonaws.com/bin/winnt/x64/0.3/julia-0.3.3-b24213b893-win64.exe and see if it works? |
sure though the issue this is solving was win32-only |
I THINK I cleaned out |
Yes, but we changed a few other things, such as |
And i think i prefer the latter option, making extra builders for the sake of cleaning seems too complicated and I think you'd need something like number of deps times number of platforms different options. |
the win32 equivalent of that download did not pass the sparse test, so maybe suitesparse was not completely cleaned out? if you used |
Alright. I'll rebuild and try again. |
Lovely.
What's best to do about the stable links and the binaries at s3.amazonaws.com/julialang ? Make a backup of the original 0.3.3 binaries and put the new ones in their place? |
Fantastic. I've backed up all the old |
Looks like we can actually revert this change now. I haven't benchmarked, but presumably the dependency libraries should run a little faster if allowed to use SSE2 now that Jameson fixed the alignment problem that was causing the original issue. |
This might be a x87-vs-SSE problem, since setting march to i686 for building the deps
but JULIA_CPU_TARGET to pentium4 for JIT code appears to work properly.
Need to verify that this doesn't bring back any of the i686 issues on 32 bit linux though.