-
Notifications
You must be signed in to change notification settings - Fork 701
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI: add GHC 9.10 #9914
CI: add GHC 9.10 #9914
Conversation
Made this mistake again: opened PR against upstream whereas it was meant to be a local experiment. Oh well, will be spamming you guys... |
|
badd2a3
to
1ad7e5b
Compare
Looks like the first actual issue with 9.10: https://github.com/haskell/cabal/actions/runs/8786524687/job/24109614580?pr=9914#step:17:293 Something around how the CPP symbols get passed. |
@bgamari, @mpickering, @alt-romes: this looks to me like something has changed in ghc, since the ghc invocation looks correct to me? |
@ulysses4ever, can you arrange for ghc to be run at a high enough verbosity that it tells us what gcc command line it's using? (I don't know how hard this will be in the test suite.) |
I'm trying to build this locally so I can try bisecting ghc, and getting an error:
As far as I can tell, this is pretty much what CI is doing, but there it doesn't complain about the ETA: it appears I have to use a released cabal-install to build it. Have to figure out how that affects the bisect. |
@geekosaur could you try a released version of GHC? Actually, exactly the alpha3 of GHC 9.10. Custom setups are known to be sensitive to this sort of thing. |
Oh, yeah, you're probably hitting #8133 |
This is exactly ghc-9.10-alpha3, but I'll need it to work for random commits in order to try to bisect it. |
Okay, I have confirmed that the test fails on ghc |
I think this means our test is testing incorrect behavior? Or possibly the fix above is overly extensive. |
@geekosaur amazing work, thank you! I think the test should be fixed. |
@sergv a test you added in #7900 is failing with GHC 9.10 because they changed how CPP options meant for the C compiler propagate (you can't pass them via I'm not sure why The GHC change was done in response to a GHC issue from @andreasabel so maybe he or you want to suggest how to fix the text: should we remove all the failing symbols ( |
eagearly Discussion: haskell#9914 (comment) Related GHC issue: https://gitlab.haskell.org/ghc/ghc/-/issues/21291
eagearly Discussion: haskell#9914 (comment) Related GHC issue: https://gitlab.haskell.org/ghc/ghc/-/issues/21291
db6c118
to
fede274
Compare
eagearly Discussion: haskell#9914 (comment) Related GHC issue: https://gitlab.haskell.org/ghc/ghc/-/issues/21291
eagearly Discussion: haskell#9914 (comment) Related GHC issue: https://gitlab.haskell.org/ghc/ghc/-/issues/21291
Hooray: the first time CI is green! 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you.
This has been sitting for a while and hasn't changed much recently. so I'm fast-tracking in the interest of the cabal-install-3.12.1.0 release. |
@Mergifyio backport 3.12 |
✅ Backports have been created
|
* CI: add GHC 9.10 * GHC 9.10 compat in testsuite: CPP symbols don't get passed to CC as eagearly Discussion: #9914 (comment) Related GHC issue: https://gitlab.haskell.org/ghc/ghc/-/issues/21291 * GHC 9.10 compat in tests: disable tests regressing due to #9940 (cherry picked from commit 3a8c69c)
* CI: add GHC 9.10 * GHC 9.10 compat in testsuite: CPP symbols don't get passed to CC as eagearly Discussion: #9914 (comment) Related GHC issue: https://gitlab.haskell.org/ghc/ghc/-/issues/21291 * GHC 9.10 compat in tests: disable tests regressing due to #9940 (cherry picked from commit 3a8c69c)
* CI: add GHC 9.10 * GHC 9.10 compat in testsuite: CPP symbols don't get passed to CC as eagearly Discussion: #9914 (comment) Related GHC issue: https://gitlab.haskell.org/ghc/ghc/-/issues/21291 * GHC 9.10 compat in tests: disable tests regressing due to #9940 (cherry picked from commit 3a8c69c)
* CI: add GHC 9.10 * GHC 9.10 compat in testsuite: CPP symbols don't get passed to CC as eagearly Discussion: #9914 (comment) Related GHC issue: https://gitlab.haskell.org/ghc/ghc/-/issues/21291 * GHC 9.10 compat in tests: disable tests regressing due to #9940 (cherry picked from commit 3a8c69c) Co-authored-by: Artem Pelenitsyn <[email protected]>
* CI: add GHC 9.10 * GHC 9.10 compat in testsuite: CPP symbols don't get passed to CC as eagearly Discussion: haskell#9914 (comment) Related GHC issue: https://gitlab.haskell.org/ghc/ghc/-/issues/21291 * GHC 9.10 compat in tests: disable tests regressing due to haskell#9940
Please read Github PR Conventions and then fill in one of these two templates.
Template Β: This PR does not modify
cabal
behaviour (documentation, tests, refactoring, etc.)Include the following checklist in your PR: