Skip to content

Test branch for building with GHC 9.10 and 9.12#2973

Draft
sauclovian-g wants to merge 4 commits into
masterfrom
ghc-10-12
Draft

Test branch for building with GHC 9.10 and 9.12#2973
sauclovian-g wants to merge 4 commits into
masterfrom
ghc-10-12

Conversation

@sauclovian-g

Copy link
Copy Markdown
Contributor

If there are code changes we need to work with newer GHC, it would be good to get them into 1.5.

@sauclovian-g

Copy link
Copy Markdown
Contributor Author

Looks like we first need to teach argo about newer ghc...

@sauclovian-g sauclovian-g marked this pull request as draft January 15, 2026 02:27
@sauclovian-g

Copy link
Copy Markdown
Contributor Author

ok, it solved finally, and the build fails on -Werror, which is precisely what I was doing this for. I'll fix it...

@sauclovian-g sauclovian-g force-pushed the ghc-10-12 branch 2 times, most recently from 9854526 to d59f33a Compare April 7, 2026 22:52
@sauclovian-g

Copy link
Copy Markdown
Contributor Author

Looks like we do need SAW changes for the recent Cryptol renamer changes, and this branch should wait for those.

@sauclovian-g sauclovian-g force-pushed the ghc-10-12 branch 2 times, most recently from a3f6b08 to 5c4f996 Compare May 6, 2026 18:59
@sauclovian-g sauclovian-g force-pushed the ghc-10-12 branch 8 times, most recently from b0bec8d to a8b176d Compare May 15, 2026 00:10
@sauclovian-g

Copy link
Copy Markdown
Contributor Author

ok, it builds with 9.10 and we're down to a Crucible build error on 9.12; unfortunately it's one I don't understand...

@RyanGlScott

Copy link
Copy Markdown
Contributor

See GaloisInc/crucible#1828 (comment) for my diagnosis of what is causing Crucible to fail to build with GHC 9.12.

@sauclovian-g

Copy link
Copy Markdown
Contributor Author

Thank you :-) Wasn't going to get very far on that one on my own...

- ring-buffer doesn't allow ghc 9.12's base
- boomerang doesn't allow ghc 9.12's template-haskell
These are copied from the 9.8 ones and minimally updated based on
the table on haskell.org of versions shipped with GHC:

https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/libraries/version-history

We must use os-string 2.0.7 with 9.10 and 9.12, even though we're
using a newer version with older GHC, because as of 9.10 it's included
with GHC and we must use exactly that version.

On both 9.10 and 9.12, we need newer versions of hashable, lens, and
doctest.

On 9.12, we need a newer th-abstraction.

(note: this commit is dated in January but is up to date as of May 14)
This is a temporary commit to see what happens, contains changes we
don't want for real, and should be dropped and replaced once the
builds actually run.
@sauclovian-g

Copy link
Copy Markdown
Contributor Author

Most of this is merged now via #3252. What's left is waiting on Crucible to build with 9.12, which is happening in GaloisInc/crucible#1828.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants