-
-
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
Setting MARCH=i686
causes dates test to fail on 32 bit
#9039
Comments
Oh right, I (mostly) fixed compiling 32-bit Julia on 64-bit Linux a couple weeks ago. This happens on 32 bit Linux too, as far as I can tell. |
MARCH=i686
causes dates test to fail on win32MARCH=i686
causes dates test to fail on 32 bit
Does the output of |
Using this binary https://s3.amazonaws.com/julianightlies/bin/winnt/x86/0.4/julia-0.4.0-dev-1f9a5f0-win32.exe built without
Using this binary https://s3.amazonaws.com/julianightlies/bin/winnt/x86/0.4/julia-0.4.0-1f9a5f00b8-win32.exe built with
Looks pretty close, not sure if there are any hints in there. The |
I can confirm that this happens on 32 bit linux (found when working on LibGit2 Pkg PR). This was in a VM Julia Version 0.3.3-pre+30
Commit c3666a1* (2014-11-05 18:14 UTC)
Platform Info:
System: Linux (i686-linux-gnu)
CPU: Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
WORD_SIZE: 32
BLAS: libopenblas (NO_LAPACK NO_LAPACKE DYNAMIC_ARCH NO_AFFINITY Nehalem)
LAPACK: liblapack
LIBM: libopenlibm
LLVM: libLLVM-3.3 |
Ooh shiny. Let us know if you need any help with that. libgit2, due to cmake, is the only piece that currently doesn't work in compiling from 64 bit linux to 32 bit. But in a 32 bit linux VM it should work fine. I can't really read LLVM or assembly well enough to tell, but could this possibly be something having to do with 0.118 * 1000.0 not being integer-valued in extended precision? cc @simonbyrne maybe? |
Sorry, this is over my head I'm afraid. From what I can tell, the llvm output is identical. @tkelman's idea seems reasonable though: the i686 native code uses an x87 |
Possibly relevant: #7185 |
This exact error did come up in #8731, and in #8812 @staticfloat had some proposed workarounds. I guess we decided "don't use |
Sigh, yeah, I could had sworn I had seen this before. ;) |
Found over at staticfloat/julia-vagrant#2 (comment) by @staticfloat, should probably move conversation here and cc @quinnj
Oddly if I run the code from
julia/base/dates/io.jl
Line 99 in aa1f53b
Might not be Windows-specific, would need testing on 32-bit Linux to be sure.
The text was updated successfully, but these errors were encountered: