Created attachment 898826 [details, diff] gcc15-x86.patch I've fixed this upstream already. We need three patches: 1) https://github.com/llvm/llvm-project/commit/7e44305041d96b064c197216b931ae3917a34ac1 2) https://github.com/llvm/llvm-project/pull/101766 3) Attached patch (only needed for <19, so no upstream PR, it'll be handled by the backport of 1))
Note that unfortunately it fixes an installed header so a revbump is needed.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1584c5d3895e81d0dee700366d4bfe373a4f4135 commit 1584c5d3895e81d0dee700366d4bfe373a4f4135 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2024-08-03 10:03:13 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2024-08-03 14:33:22 +0000 sys-devel/llvm: Backport gcc-15 fixes to 18.x Closes: https://bugs.gentoo.org/937164 Signed-off-by: Michał Górny <mgorny@gentoo.org> sys-devel/llvm/Manifest | 1 + sys-devel/llvm/llvm-18.1.8-r3.ebuild | 549 +++++++++++++++++++++++++++++++++++ 2 files changed, 550 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=867d488d1eedef28864dc3f773e020dac36979b4 commit 867d488d1eedef28864dc3f773e020dac36979b4 Author: Matoro Mahri <matoro_gentoo@matoro.tk> AuthorDate: 2024-10-11 22:51:48 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-10-12 04:03:13 +0000 dev-lang/rust: backport llvm patches for gcc-15 No revbump since this is build-only. Bug: https://bugs.gentoo.org/937164 Closes: https://bugs.gentoo.org/937525 Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Closes: https://github.com/gentoo/gentoo/pull/38947 Signed-off-by: Sam James <sam@gentoo.org> .../rust/files/1.81.0-backport-bug937164.patch | 15 +++++++++++ .../rust/files/1.81.0-backport-llvm-pr101761.patch | 30 ++++++++++++++++++++++ .../rust/files/1.81.0-backport-llvm-pr101766.patch | 29 +++++++++++++++++++++ dev-lang/rust/rust-1.81.0.ebuild | 3 +++ 4 files changed, 77 insertions(+)