Summary: | sys-devel/llvm-15.0.7: fails to compile with musl 1.2.4 (no member named 'lseek64' in the global namespace) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Violet Purcell <vimproved> |
Component: | Current packages | Assignee: | LLVM support project <llvm> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | herrtimson, mgorny |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://reviews.llvm.org/D139752 https://bugs.gentoo.org/show_bug.cgi?id=906603 |
||
Whiteboard: | Needs backport to 15.x | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 903611 | ||
Attachments: | build.log |
Where would be the appropriate place to submit the backported patch for this? (In reply to Violet Purcell from comment #2) > Where would be the appropriate place to submit the backported patch for this? If it applies cleanly on top of [1], just a note here will suffice. If not, I suppose attach a rebased `git format-patch` here. [1] https://gitweb.gentoo.org/fork/llvm-project.git/tag/?h=gentoo-15.0.7-r2 It applies cleanly if you remove the patches to bazel. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12a806247e053ad25f6eccf5dcb39bc5f4c83bd9 commit 12a806247e053ad25f6eccf5dcb39bc5f4c83bd9 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2023-05-15 04:55:12 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2023-05-15 13:14:24 +0000 sys-devel/llvm: Backport UB and musl fixes to 15.0.7-r3 Closes: https://bugs.gentoo.org/873670 Closes: https://bugs.gentoo.org/905914 Signed-off-by: Michał Górny <mgorny@gentoo.org> sys-devel/llvm/Manifest | 1 + sys-devel/llvm/llvm-15.0.7-r3.ebuild | 520 +++++++++++++++++++++++++++++++++++ 2 files changed, 521 insertions(+) |
Created attachment 861290 [details] build.log Caused by musl 1.2.4 LFS64 shim removal. Reproducible: Always Steps to Reproduce: 1. Setup llvm/musl with a 23.0 profile 2. emerge -av sys-libs/musl 3. emerge -av sys-devel/llvm:15