I noticed this bug upstream about C++11 and C++98 ABI incompatibilities , in case someone is using the C++11 features, please be aware that there is an ABI bug lurking.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53646
Ramana
On 14.06.2012 11:44, Ramana Radhakrishnan wrote:
I noticed this bug upstream about C++11 and C++98 ABI incompatibilities , in case someone is using the C++11 features, please be aware that there is an ABI bug lurking.
well, the concrete bug is PR 53657. The major issue is that you can't mix c++11 and c++98 code any more with 4.7 for some uses of libstdc++ (and maybe not with older releases as well, but the std::list ABI change causes some prominent failures). See [1] and [2]. Everything is fine if you are in control for building all your software in the same mode, but that isn't going to happen for a linux distribution.
And there doesn't seem to be a way to determine the build mode by just looking at a shared object, so the only way determine the build mode is to look at the build log.
Matthias
[1] https://bugs.launchpad.net/ubuntu/+source/gcc-4.7/+bug/1000508 [2] https://lists.ubuntu.com/archives/ubuntu-devel/2012-June/035310.html
linaro-toolchain@lists.linaro.org