[Bugs] [Bug 378] dev-lang/llvm: enable CXX11 support

bugzilla-daemon at exherbo.org bugzilla-daemon at exherbo.org
Thu Mar 20 20:44:36 UTC 2014


https://bugs.exherbo.org/show_bug.cgi?id=378

Alex Elsayed <eternaleye at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eternaleye at gmail.com

--- Comment #1 from Alex Elsayed <eternaleye at gmail.com> ---
The problem is that libstdc++ (which GCC uses, and which ships with GCC) does
not yet guarantee ABI stability between versions.

>From https://lwn.net/Articles/552831/ :

If you use C++11 then in general you can combine C++11 code built with GCC 4.X
and C++03 code built with any GCC, but there is not the same guarantee that you
can combine with C++11 code built with GCC 4.Y or GCC 4.Z, because the C++11
features are not all stable yet (e.g. for GCC 4.9 I'm about to add a new
virtual function to a base class in <future>.) This is why C++11 support is
still labelled "experimental", because it would be worse to claim it's stable
and then have to break the ABI.


In other words, if we build LLVM in C++11 mode, on GCC upgrades it (and
anything that links to it) may fail at runtime and require rebuilding both LLVM
and its dependents.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.exherbo.org/pipermail/bugs/attachments/20140320/8e27199b/attachment.html>


More information about the Bugs mailing list