[cfe-dev] libc++ supporting older compilers

Chandler Carruth via cfe-dev cfe-dev at lists.llvm.org
Sat Dec 19 13:31:27 PST 2015


Even using libstdc++ with Clang is mostly impossible from 5+ because of the
abi_tag disaster.

On Sat, Dec 19, 2015 at 1:26 PM Dan Albert via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

> I doubt you can build libstdc++ with clang. Using libstdc++ from clang
> *mostly* works, but I've definitely had reports of certain pieces not
> working (particularly in places like <atomic> and <type_traits>, iirc).
> Note that this was with libstdc++ 4.9. I don't know if that has improved in
> 5+.
>
> On Sat, Dec 19, 2015 at 12:54 PM, Renato Golin via cfe-dev <
> cfe-dev at lists.llvm.org> wrote:
>
>> On 18 December 2015 at 23:22, Eric Fiselier via cfe-dev
>> <cfe-dev at lists.llvm.org> wrote:
>> > 4.7          | 4661         | 126
>> > 4.8          | 4015         | 772
>> > 4.9          | 4775         | 12  * 10 are missing "is_trivially_" type
>>
>> This up and down looks odd...
>>
>>
>> > I'm not trying to artificially limit support but I am trying to keep it
>> > moving forward. With limited resources
>> > I want to focus on support for C++1z and new libraries like filesystem.
>> Most
>> > libc++ users use clang,
>> > and clang gave us full C++11 support in 3.0.It's time we demand it from
>> > other compilers.
>>
>> Doesn't libstdc++ require GCC? Or can it be compiled with Clang?
>>
>> I'm already bootstrapping Clang to compile libc++ on ARM and AArch64,
>> as I got some compilation errors with GCC 4.8. I don't remember the
>> errors, as that was several months ago.
>>
>> --renato
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20151219/9136efdb/attachment.html>


More information about the cfe-dev mailing list