diff --git a/compiler/cbits/genSym.c b/compiler/cbits/genSym.c
--- a/compiler/cbits/genSym.c
+++ b/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,9,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)
diff --git a/ghc-lib-parser.cabal b/ghc-lib-parser.cabal
--- a/ghc-lib-parser.cabal
+++ b/ghc-lib-parser.cabal
@@ -1,7 +1,7 @@
 cabal-version: 3.0
 build-type: Simple
 name: ghc-lib-parser
-version: 9.10.1.20241103
+version: 9.10.1.20250103
 license: BSD-3-Clause
 license-file: LICENSE
 category: Development
@@ -104,7 +104,7 @@
         ghc-prim > 0.2 && < 0.12,
         containers >= 0.6.2.1 && < 0.8,
         bytestring >= 0.11.4 && < 0.13,
-        time >= 1.4 && < 1.13,
+        time >= 1.4 && < 1.15,
         filepath >= 1 && < 1.6,
         exceptions == 0.10.*,
         parsec,
@@ -117,7 +117,7 @@
         process >= 1 && < 1.7
     if impl(ghc >= 9.10)
       build-depends: ghc-internal
-    build-tool-depends: alex:alex >= 3.1, happy:happy == 1.20.* || >= 2.0.2 && < 2.1
+    build-tool-depends: alex:alex >= 3.1 && < 3.5.2.0, happy:happy == 1.20.* || == 2.0.2 || >= 2.1.2 && < 2.2
     other-extensions:
         BangPatterns
         CPP
diff --git a/ghc-lib/stage0/compiler/build/GHC/Settings/Config.hs b/ghc-lib/stage0/compiler/build/GHC/Settings/Config.hs
--- a/ghc-lib/stage0/compiler/build/GHC/Settings/Config.hs
+++ b/ghc-lib/stage0/compiler/build/GHC/Settings/Config.hs
@@ -22,7 +22,7 @@
 cProjectName          = "The Glorious Glasgow Haskell Compilation System"
 
 cBooterVersion        :: String
-cBooterVersion        = "9.8.3"
+cBooterVersion        = "9.8.4"
 
 cStage                :: String
 cStage                = show (1 :: Int)
