On 26/11/19 00:57 +0000, Joseph Myers wrote:
On Mon, 25 Nov 2019, Rainer Orth wrote:
and a few more, all DFP related. They used to be emitted by g++ for
__fundamental_type_info in libsupc++/fundamental_type_info.cc and lived
in the CXXABI_1.3.4 version. However, since Solaris *does* lack DFP
support, that's no longer the case. I'm uncertain how best to deal with
this, however.
As I understand it, _GLIBCXX_USE_DECIMAL_FLOAT should already have been
undefined for this target, and so std::decimal::decimal32 etc. should not
have been usable (both the header not working without that define, and the
mode attributes in the header being rejected by the front end when DFP is
unsupported). I.e. such defines in libsupc++ would never have been usable
on this target, so I think they are something it should be safe to remove
from the ABI baseline.
If it's actually impossible that any real program could have depended
on those symbols, then I agree.
We could consider adding some useless stubs with those symbol names
(as aliases of something else?) so the symbols are still in the
library, to keep various tools happy.