Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 884395

Summary: sys-devel/clang: check whether needs adaptation for IEEE long double
Product: Gentoo Linux Reporter: Sam James <sam>
Component: Current packagesAssignee: LLVM support project <llvm>
Status: CONFIRMED ---    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://reviews.llvm.org/D117181
https://github.com/gentoo/gentoo/pull/28557
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 882815    

Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-05 03:04:06 UTC
See https://reviews.llvm.org/D117181. We may need to finish that off.
Comment 1 Georgy Yakovlev archtester gentoo-dev 2022-12-05 05:35:12 UTC
interim solution could be use-controlled cfg file in /etc/clang containing  -mabi=ieeelongdouble

but I'm still testing clang behaviour on such system.
Comment 2 Larry the Git Cow gentoo-dev 2022-12-20 23:46:54 UTC
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(-)