debug mode symbols cleanup

Jonathan Wakely
Mon Sep 7 11:04:00 GMT 2015

On 05/09/15 22:53 +0200, François Dumont wrote:
>    I remember Paolo saying once that we were not guarantiing any abi
>compatibility for debug mode. I haven't found any section for
>unversioned symbols in gnu.ver so I simply uncomment the global export.

There is no section, because all exported symbols are versioned.

It's OK if objects compiled with Debug Mode using one version of GCC
don't link to objects compiled with Debug Mode using a different
version of GCC, but you can't change the exported symbols in the DSO.

Your changelog doesn't include the changes to config/abi/pre/gnu.ver,
but those changes are not OK anyway, they fail the abi-check:

FAIL: libstdc++-abi/abi_check

                === libstdc++ Summary ===

# of unexpected failures        1

More information about the Gcc-patches mailing list