-
-
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
clang built julia is unstable #1013
Comments
Same issue (also on latest OS X). |
Very strange. The failing function appears to be stat(). sometime during the call to uv_fs_stat in jl_stat It's not clear why this would be a problem, but the allocation of The answer lies in a few missing complier flags: (sorry if that reads a bit like a story, but I kept typing this as I kept finding new details) |
USE_64_BIT_INODE sounds very much like it would affect the size of the stat structure, which contains the inode number. |
I am trying out the suggested CFLAGS, but currently,
|
I should add that all openblas tests pass for me. I wonder if this is some clang/ccall related issue, or some other corruption. |
@ViralBShah, are you running on sandybridge? If so, i'm seeing a similar error, and compiling openblas with TARGET=NEHALEM or USE_THREAD=0 seems to fix it. |
Yes, I am on sandybridge. Just seeing if openblas' sandybridge support works well enough, when built with Apple clang. I suspect this is going to take some time to stabilize. |
Apart from the openblas+lapack tests, which seems to be an openblas issue, all other tests pass, with the flags that @vtjnash mentions. |
for Darwin+clang. Seems to fix the instability described in #1013, and all tests except lapack pass now. Should this be added for gcc, and in general for all platforms?
This is not just a problem with clang. The lapack test also fails on my sandybridge ubuntu 10.04 box, for both gcc 4.4.3 and 4.7.1. |
I am closing this bug and opening #1056 for the openblas issue. |
Does it also make julia tests fail? The LU decomposition is incorrect - so it is not a case of just some torture tests failing. I haven't tried with gcc yet. -viral On 15-Jul-2012, at 8:41 AM, Mike Nolta wrote:
|
Yes, i get the exact same error as you do. It's what prompted me to open the openblas issue. |
for Darwin+clang. Seems to fix the instability described in JuliaLang#1013, and all tests except lapack pass now. Should this be added for gcc, and in general for all platforms?
Building with
make USECLANG=1
doesn't pass all tests. For me, it gets stuck here - and is perhaps related to the ccall issue discussed in #978. Also, the tests seem to take much longer when julia is built with clang.The text was updated successfully, but these errors were encountered: