Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937164 - sys-devel/llvm-18: fails to build with GCC 15
Summary: sys-devel/llvm-18: fails to build with GCC 15
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: LLVM support project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-08-03 02:01 UTC by Sam James
Modified: 2024-08-03 14:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
gcc15-x86.patch (gcc15-x86.patch,441 bytes, patch)
2024-08-03 02:01 UTC, Sam James
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-08-03 02:01:16 UTC
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))
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-08-03 03:01:44 UTC
Note that unfortunately it fixes an installed header so a revbump is needed.
Comment 2 Larry the Git Cow gentoo-dev 2024-08-03 14:33:29 UTC
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(+)