can't move to latest version of llvm on ghc 9.12.2

Brandon Allbery allbery.b at gmail.com
Tue Apr 1 16:27:41 UTC 2025


Have you demonstrated that it works? IIRC the current behavior is because
some LLVM version (16, IIRC) didn't work with GHC (threw errors from opt, I
think).

On Tue, Apr 1, 2025 at 10:49 AM George Colpitts <george.colpitts at gmail.com>
wrote:

> llvm 20 is out but unlike in earlier versions of ghc moving to it means
> you can no longer use llvm:
>
> compiling:
>
> ghc -fllvm hello.hs
> Loaded package environment from
> /Users/avie/.ghc/aarch64-darwin-9.12.2/environments/default
> [1 of 2] Compiling Main             ( hello.hs, hello.o )
> <no location info>: error: [GHC-66599]
>     GHC was not configured with a supported LLVM toolchain
>     Make sure you have installed LLVM between [13 and 20) and reinstall
> GHC to make -fllvm work
>
>
> from configure:
>
> configure: We only support llvm 13 upto 20 (non-inclusive) (found 20.1.1).
>
>
> Can we move to llvm 20 on HEAD and can we revert to the old behavior on
> ghc 9.12.3?
>
> Should I file an ER?
>
> Thanks
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>


-- 
brandon s allbery kf8nh
allbery.b at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20250401/8d947be9/attachment.html>


More information about the ghc-devs mailing list