The following tests have been failing on Darwin of a while now: ******************** Failing Tests (3): libc++ :: numerics/rand/rand.device/ctor.pass.cpp libc++ :: numerics/rand/rand.device/eval.pass.cpp libc++ :: thread/thread.threads/thread.thread.this/sleep_for.pass.cpp The most recent results can be found here: http://lab.llvm.org:8013/builders/libcxx_clang-x86_64-darwin11-RA?numbuilds=50
Interesting; I'm not seeing those failures in my nightly runs. At least the first two appear to be a 10.8/10.9 thing; they pass on 10.8, fail on 10.9.
(In reply to comment #1) > Interesting; I'm not seeing those failures in my nightly runs. > At least the first two appear to be a 10.8/10.9 thing; they pass on 10.8, > fail on 10.9. This is just wrong; please disregard.
Are you running with a freshly built dylib? These tests were added to test a change to src/random.cpp; code that gets included in the dylib. If I run the tests with the libc++.dylib that Apple ships as part of 10.9, then (at least the first two tests) will fail. P.S. For some reason, I cannot connect to lab.llvm.org:8013
Created attachment 12730 [details] test log
Created attachment 12731 [details] build log
I have added some logs that might be useful from a failing build. These bots are running 10.6.
(In reply to comment #6) > I have added some logs that might be useful from a failing build. > > These bots are running 10.6. Ah, that's the key. Doug Gregor wrote (back in 2011, on the cfe-developers list): > Apple only supports libc++ on Mac OS 10.7 .... And Howard Hinnant wrote (in the same thread in 2011): > Note that Apple never supported libc++ on 10.6, and I am not testing against it. [ The thread is was titled "libc++ on Mac OS X 10.6" and started on Oct 9, 2011 ] Why are you running 10.6 on this bot?
This bot is very old. Even though it has not been officially supported, the bot has been green and finding occasional bugs. If this bug is 10.6 specific, the bot could be taken off line.
I'm willing to try to figure out what's going on here; but if it's just a problem on 10.6, I'm going to give it a lower priority than other bugs.
That sounds great. Thanks!
All of these bugs were fixed by David Majnemer! `sleep_for.pass.cpp` test was fixed by commit r210210. Also I believe `ctor.pass.cpp` was fixed by commit r210060 and `eval.pass.cpp` was fixed by r210061. All of these tests pass against the OS X 10.12 system library but not on 10.11.