On Thu, Sep 21, 2023 at 2:28 PM Brooks Davis <bro...@freebsd.org> wrote:
>
> This seems to be an arm-only thing.  What's going on here? Do we have to
> keep llvm10 around forever just for ghc on arm?
>
> -- Brooks
>

GHC has a native code generator and a LLVM-based one. On ARM the
native generator doesn't work with old GHC's, so the only way to have
Haskell working is via LLVM. At the same time the LLVM backend can
still be used even with new GHC and on amd64.

Removing llvm10 would remove lang/ghc810 and its dependents from the
ARM package list and would also prevent bootstrapping newer GHC's on
this platform. Luckily, we already have GHC 8.10 bootstrapped for ARM,
which still makes it possible to build lang/ghc92 and proceed from
there. GHC 9.2 uses LLVM 12, which I hope will stay for a while.

That being said, I don't really have an opinion on LLVM 10 removal. I
don't have time to keep up with Haskell stuff anymore so I don't want
to drag other into maintaining more old software.

Reply via email to