configuring out old ABI

Jonathan Wakely jwakely@redhat.com
Wed Jun 6 08:30:00 GMT 2018


On 06/06/18 10:17 +0200, Rasmus Villemoes wrote:
>I naively attempted
>
>  --disable-libstdcxx-dual-abi --with-default-libstdcxx-abi=cxx11
>
>and was a little surprised to find out that the second option is
>ignored, and I got the cxx98 ABI (only). Of course, it's documented if
>one reads the fine print in libstdc++-v3/acinclude.m4
>
>dnl --disable-libstdcxx-dual-abi will use old ABI for all types.
>
>or the logic a little further down that only honours
>default-libstdcxx-abi when x$enable_libstdcxx_dual_abi = xyes.
>
>Is there any chance of having a configuration combination completely
>disabling the old ABI?

Not currently, this is
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65762

If/when https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83077 gets
implemented you could get it via
--enable-symvers=gnu-versioned-namespace (but that also changes the
ABI to be completely incompatible, instead of just dropping the
non-cxx11 parts).




More information about the Libstdc++ mailing list