This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libstdc++ c++98 & c++11 ABI incompatibility


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]