[libcxx-dev] Compilers supported for building libc++ and libc++abi dylibs
Louis Dionne via libcxx-dev
libcxx-dev at lists.llvm.org
Wed Jul 3 07:12:04 PDT 2019
libc++ currently claims support for Clang 3.5 and GCC 5.0. Furthermore, the LLVM project claims support for the following toolchains:
- Clang 3.5
- Apple Clang 6.0
- GCC 5.1
- Visual Studio 2017
The reality, however, is that building proper libc++ and libc++abi requires an almost tip-of-trunk compiler, because we rely on recent fixes to visibility annotations (for libc++), and on the magic emission of RTTI for fundamental types (for libc++abi). Basically, if one wants to build a libc++/libc++abi pair that works similarly to what a vendor is shipping today, one must use a very recent compiler. It's just the way it is.
Now, I don't think it's a big deal because I don't see much value in being able to build libc++/libc++abi with old compilers, and the only vendors I know today build the dylibs with recent compilers. Being able to use the libc++ headers with an older compiler is important, but we do support that and it's not the object of this message. The object of this message is specifically about building the dylibs.
So my question is: are we OK with acknowledging this requirement officially in the documentation?
More information about the libcxx-dev