See https://reviews.llvm.org/D117181. We may need to finish that off.
interim solution could be use-controlled cfg file in /etc/clang containing -mabi=ieeelongdouble but I'm still testing clang behaviour on such system.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77753c90d1c507dae569c77d1ed9d076cf7a9f21 commit 77753c90d1c507dae569c77d1ed9d076cf7a9f21 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2022-12-05 21:24:38 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2022-12-20 23:46:43 +0000 profiles: mask/unmask ieee-long-double for clang-common Bug: https://bugs.gentoo.org/882815 Bug: https://bugs.gentoo.org/884395 Closes: https://github.com/gentoo/gentoo/pull/28557 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> profiles/arch/base/package.use.mask | 1 + profiles/default/linux/ppc64le/17.0/ieee-long-double/package.mask | 3 ++- profiles/default/linux/ppc64le/17.0/ieee-long-double/package.use.force | 1 + profiles/default/linux/ppc64le/17.0/ieee-long-double/package.use.mask | 3 ++- 4 files changed, 6 insertions(+), 2 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef7ca111bcbd847596c782a2ea742d37b9769c4b commit ef7ca111bcbd847596c782a2ea742d37b9769c4b Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2022-12-05 21:13:18 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2022-12-20 23:46:37 +0000 sys-devel/clang-common: add USE=ieee-long-double Bug: https://bugs.gentoo.org/882815 Bug: https://bugs.gentoo.org/884395 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> sys-devel/clang-common/clang-common-15.0.5.ebuild | 15 ++++++++++++++- sys-devel/clang-common/clang-common-15.0.6.9999.ebuild | 15 ++++++++++++++- sys-devel/clang-common/clang-common-15.0.6.ebuild | 15 ++++++++++++++- sys-devel/clang-common/clang-common-16.0.0.9999.ebuild | 15 ++++++++++++++- .../clang-common/clang-common-16.0.0_pre20221210.ebuild | 15 ++++++++++++++- .../clang-common/clang-common-16.0.0_pre20221217.ebuild | 15 ++++++++++++++- sys-devel/clang-common/metadata.xml | 1 + 7 files changed, 85 insertions(+), 6 deletions(-)