https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66262
Bug ID: 66262 Summary: [REGRESSION] testsuite failure with libstdc++ (gcc-5) and g++-4.9 together Product: gcc Version: 5.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: costamagnagianfranco at yahoo dot it Target Milestone: --- Hi, sorry in advance for the low quality bug report. I'm reporting this upstream, since I suspect the ABI broke in some bad way between 4.9 and 5.0. note: I tried to explain as much as possible on Debian bug [1] Firstly I wasn't able to make it work with g++-5 and libstdc++ from gcc-5 package After the Debian Maintainer rebuilt gcc-5 with * Configure with --disable-libstdcxx-dual-abi --with-default-libstdcxx-abi=c++98 While libstdc++ provides a dual ABI to support both the c++98 and c++11 ABI, there is no committment on compatibility of the old experimental c++11 ABI from GCC 4.9 and the stable c++11 ABI in GCC 5. and now I can build them with both g++-5 and libstdc++ from gcc-5. the problem actually is that now Debian has libstdc++ from gcc-5, and the default compiler still set to gcc-4.9. With that combination (g++-4.9 and libstdc++ from gcc-5) the bug is there and I can't upload in Debian the new release until I figure this out. I can try to provide more informations, just feel free to ask me. [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784655