Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905914 - sys-devel/llvm-15.0.7: fails to compile with musl 1.2.4 (no member named 'lseek64' in the global namespace)
Summary: sys-devel/llvm-15.0.7: fails to compile with musl 1.2.4 (no member named 'lse...
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: Needs backport to 15.x
Keywords: PATCH
Depends on:
Blocks: musl-1.2.4
  Show dependency tree
 
Reported: 2023-05-08 04:13 UTC by Violet Purcell
Modified: 2023-05-17 10:03 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,207.16 KB, text/x-log)
2023-05-08 04:13 UTC, Violet Purcell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Violet Purcell 2023-05-08 04:13:28 UTC
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
Comment 2 Violet Purcell 2023-05-12 13:58:32 UTC
Where would be the appropriate place to submit the backported patch for this?
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-05-12 14:49:27 UTC
(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
Comment 4 Violet Purcell 2023-05-14 18:59:53 UTC
It applies cleanly if you remove the patches to bazel.
Comment 5 Larry the Git Cow gentoo-dev 2023-05-15 13:15:34 UTC
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(+)