Hi Jacob, I'm trying to compile llvm on *-musl system which fails: https://github.com/llvm/llvm-project/issues/238890 I then proposed a patch to llvm: https://github.com/llvm/llvm-project/pull/238891 but they sent me here ([email protected]).
I'm trying to get these musl targets work of the box and find someone who can help me achieve that! On Sat, 7 Nov 2026 at 03:36, Jacob Bachmeyer <[email protected]> wrote: > > On 11/6/26 01:26, Pepper Gray wrote: > > From bb115855e59ac5e98f8dd1d27632b66bc86efdf4 Mon Sep 17 00:00:00 2001 > > From: Pepper Gray <[email protected]> > > Date: Wed, 4 Nov 2026 18:38:04 +0100 > > Subject: [PATCH] [llvm] config.guess: detect musl on all linux targets > > > > use libc detection for all linux targets instead of hard coding gnu > > > > Closes: https://github.com/llvm/llvm-project/issues/238890 > > Signed-off-by: Pepper Gray <[email protected]> > > --- > > llvm/cmake/config.guess | 141 +++++++++++++++++----------------------- > > 1 file changed, 58 insertions(+), 83 deletions(-) > > > > diff --git a/llvm/cmake/config.guess b/llvm/cmake/config.guess > > index 8934c0fa6befcd..7a28d01f35fba1 100644 > > --- a/llvm/cmake/config.guess > > +++ b/llvm/cmake/config.guess > > [...] > > + > > + # There is no features test macro for musl > > + # Follow the GNU's config.guess approach of > > + # checking the output of ldd > > [...] > > Why is a patch proposed to GNU config.guess referring to "GNU's > config.guess approach" in a comment as if GNU config.guess already has it? > > Is this specific to some fork that is carried with LLVM? > > > -- Jacob >
