On 11/6/26 23:33, Pepper Gray wrote:
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!
LLVM appears to be shipping an old version of config.guess from
2024-06-07. As far as I can tell, (not having a musl environment close
at hand) the current version of config.guess appears to already solve at
least this part of your problem.
Someone asked on your pull request if you were importing the current
version. Doing that would likely help, but be aware that config.guess
is now GPLv3+, while the older version was available under GPLv2. It
appears that LLVM does not use Autoconf, therefore the additional
permission does not apply. Note that this license update also applies
to copying code from the current version.
If LLVM is allergic to GPLv3 even in auxiliary build tools, that is
their problem.
-- Jacob