-
-
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
Obscure regression in 32-bit Julia 0.6.3 #27345
Comments
Our 32bit tests also fail on some weird last digit difference in LineSearches.jl. I can report details later (on mobile) but if I hardcode copies of the variables involved the results are correct. edit:
with the output
! Pretty weird that they can be identical |
Our 32-bit tests are failing because https://ci.appveyor.com/project/YingboMa/ordinarydiffeq-jl/build/1.0.62/job/o113qdrx1owjjfy2#L458 |
Would someone with access to a 32-bit system be willing to run Sorry this didn't get caught. PackageEvaluator runs on 64-bit Ubuntu so it doesn't catch OS- or architecture-specific issues in packages. |
I have tried replicating the problem on a Fedora 32-bit VM, and while I see it with the official binaries, I don't when building from source. I'm using For post-1.0 minor releases, we really need 32-bit PackageEvaluator runs (and ideally on several platforms, including Windows and OS X). |
Any difference in the generated code? Julia lowering, llvm code, generated code? |
Good question. There are lots of small differences in the native code, but none in the LLVM IR. So it seems it's a bug in LLVM? See this gist, where the first "commit" contains results with the official binaries, and the second one results with my custom build. |
See #27402. New 32-bit binaries for Windows and Linux have been uploaded. Let me know if this fixes things for you. |
Thanks, that did the trick! |
In Julia 0.6.3,
StatsBase.wmedian
gives incorrect results on 32-bit. In the simplified function below, the result is8.5
on 0.6.2 and 0.7.0-alpha, but10.0
on 0.6.3. Everything is OK on 64-bit.FWIW, the bug goes away just by adding
@show
statements.The text was updated successfully, but these errors were encountered: