This is the mail archive of the
mailing list for the GCC project.
Re: libstdc++ c++98 & c++11 ABI incompatibility
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Matthias Klose <doko at ubuntu dot com>
- Cc: gcc Development <gcc at gcc dot gnu dot org>, "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
- Date: Fri, 15 Jun 2012 02:14:17 +0100
- Subject: Re: libstdc++ c++98 & c++11 ABI incompatibility
- References: <4FD9E399.firstname.lastname@example.org>
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