-
-
Notifications
You must be signed in to change notification settings - Fork 267
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
Make sure we will be able to use LLVM 3.4 on OS X #492
Comments
Just curious: is it the same failure as in issue #451? This seems to be a race condition in test "Multiple threads running shared fibers". |
Might be, didn't investigate it in detail yet. |
@klickverbot Did you work on this issue? The release plan for LLVM 3.4 is now announced. (Branch on November 18th and release on December 23rd.) |
@redstar: A first bug report: http://llvm.org/bugs/show_bug.cgi?id=17964 There seems to be another issue w.r.t. exception handling, causing the std.file and std.parallelism test to crash in release mode. This vaguely reminds me of a similar issue in older LLVM versions. |
That old issue is #362, but the test case from there doesn't seem to trigger the issue anymore. |
@redstar: Did you get around to look into the floating point issue in std.math yet? If that's fixed, we shouldn't really be worse off with LLVM 3.4 than we were with 3.2 on OS X – the exception handling issue is present there as well, and that strange threading race condition occurs on other platforms as well. |
I made no serious attempt to fix the std.math issue. I am still working on the 2.064 merge. (There is only slow progress but I am learning many things about LDC right now....) |
I think I reduced the
prints
when compiled with -O0 and
when compiled with -O1/-O2/-O3. Somehow the sign bit is lost. |
Nice! |
LLVM implements IEEE 754 floating point operations. One feature of the standard is that the sign bit of a NaN is not specified in general but only for a handful of operations. |
I am closing this issue as LLVM 3.4 is already released. |
We are not able to use LLVM 3.3 on OS X because it was released with a catastrophic regression regarding TLS: http://llvm.org/bugs/show_bug.cgi?id=15972. The bug was fixed in LLVM SVN r187913.
However, with current LLVM trunk the test suite does not pass on OS X either: Besides a strange crash in
core.thread
, there are notably some issues where the generated code crashes the system linker that comes with XCode 5 due to some issues with the TLV section.We need to investigate this more closely and be sure to report the bugs to the upstream devs. Not being able to use 3.4 on OS X would be a disaster.
The text was updated successfully, but these errors were encountered: