[cfe-dev] What is status of libc++ on Linux?

Howard Hinnant hhinnant at apple.com
Mon Sep 26 08:48:37 PDT 2011


On Sep 26, 2011, at 11:43 AM, Sean Hunt wrote:

> On Mon, Sep 26, 2011 at 11:36, Konstantin Tokarev <annulen at yandex.ru> wrote:
>> Hi all,
>> 
>> Is libc++ supposed to be practiaclly usable on Linux? It compiles fine,
>> but has large amount of tests failing.
> 
> It is mostly useful. The failing tests are, if memory serves, limited
> somewhat to libraries that aren't properly implemented (atomics),
> places where glibc is non-conformant, places where initializer lists
> haven't been implemented in C++0x, and a few others. The test system
> (a bash script) presently has no concept of expected failures; talk to
> Howard for more info.

I'm here, but don't have any more info than Sean (actually less).  I don't have a linux box to test on.

The summary from my most recent test run on OS X (Lion) is:

****************************************************
Results for /test:
using Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)
Target: x86_64-apple-darwin11.1.0
Thread model: posix
with -std=c++0x -stdlib=libc++  
----------------------------------------------------
sections without tests   : 1
sections with failures   : 19
sections without failures: 1044
                       +   ----
total number of sections : 1064
----------------------------------------------------
number of tests failed   : 75
number of tests passed   : 4249
                       +   ----
total number of tests    : 4324
****************************************************

And the bulk of those failures are as Sean describes (atomics, initializer lists).

Howard




More information about the cfe-dev mailing list