[cfe-dev] RFC: A proposal to move toward using C++11 features in LLVM & Clang / bounding support for old host compilers

Chandler Carruth chandlerc at google.com
Sun Oct 27 21:10:44 PDT 2013


On Sun, Oct 27, 2013 at 1:41 PM, Joshua Cranmer 🐧 <Pidgeot18 at gmail.com>wrote:

> On 10/27/2013 8:31 AM, Benjamin Kramer wrote:
>
>> Then there's the long list of linux distros. I looked at those supported
>> by Clang's toolchain config right now.
>> - Debian has (finally) switched to GCC 4.7. I don't think supporting old
>> stable (Debian 6 is from 2011, GCC 4.4) really helps anyone.
>> - RHEL/CentOS is still on GCC 4.4 as far as I know. This is a problem if
>> not solved within the next 6 months.
>>
> libstdc++ 4.4 is extremely broken with respect to C++11 code, to the point
> that using clang 3.3, libstdc++, -std=c++11, and #include <vector> is a
> nightmare to even work around. I discovered this recently when having to
> make such code compile on an RHEL system.


Yes, and I really do not think we should be hamstrung by RHEL/CentOS. They
can cross-compile or otherwise bootstrap via a locally installed Clang
released in the previous two years.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131027/daccf618/attachment.html>


More information about the cfe-dev mailing list