libstdc++ c++98 & c++11 ABI incompatibility
Jonathan Wakely
jwakely.gcc@gmail.com
Fri Jun 15 01:14:00 GMT 2012
On 14 June 2012 14:14, Matthias Klose wrote:
> So what could be done for a distribution?
>
> - For this particular issue, ask upstreams to work around this
> particular incompatibility. This might work better, if the
> upstream sits "closer" to the distribution, but doesn't seem
> to be a general solution.
>
> - Identify all libraries with this incompatibility, and build
> the library twice for each mode. That would need a new soname
> when built in c++11 mode (which better should be done upstream
> first), and some logic to link with the c++11 library when
> building in c++11 mode. But I don't think that distributions
> want to build and maintain a second c++ stack.
Or bump the libstdc++ soname and add the size member to std::list in
c++98 mode too.
I don't see that being a popular choice yet, but it is likely to
happen eventually.
More information about the Gcc
mailing list