[Git][ghc/ghc][wip/backports-9.8] compiler: Fix bootstrapping with 9.8.3

Ben Gamari (@bgamari) gitlab at gitlab.haskell.org
Mon Nov 25 19:20:44 UTC 2024



Ben Gamari pushed to branch wip/backports-9.8 at Glasgow Haskell Compiler / GHC


Commits:
7a274a7f by Ben Gamari at 2024-11-25T14:20:29-05:00
compiler: Fix bootstrapping with 9.8.3

Bump the CPP in genSym to ensure that we don't look for
`ghc_unique_counter64` in any compilers earlier than 9.8.4.

Inconsistency noticed in #25519.

- - - - -


1 changed file:

- compiler/cbits/genSym.c


Changes:

=====================================
compiler/cbits/genSym.c
=====================================
@@ -9,7 +9,7 @@
 //
 // The CPP is thus about the RTS version GHC is linked against, and not the
 // version of the GHC being built.
-#if !MIN_VERSION_GLASGOW_HASKELL(9,7,0,0)
+#if !MIN_VERSION_GLASGOW_HASKELL(9,8,4,0)
 HsWord64 ghc_unique_counter64 = 0;
 #endif
 #if !MIN_VERSION_GLASGOW_HASKELL(9,3,0,0)



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/7a274a7f71c30b556b20152bdd2996aa106ac9a5

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/7a274a7f71c30b556b20152bdd2996aa106ac9a5
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20241125/47f80d91/attachment-0001.html>


More information about the ghc-commits mailing list