diff --git a/ghc/ghc-bin.cabal.in b/ghc/ghc-bin.cabal.in
index 29132d87f83e8d4696488a28d3802087b6099407..ba036241fee1b7da8b074c9ef68469b2bf2892e3 100644
--- a/ghc/ghc-bin.cabal.in
+++ b/ghc/ghc-bin.cabal.in
@@ -57,7 +57,7 @@ Executable ghc
         -- NB: this is never built by the bootstrapping GHC+libraries
         Build-depends:
             deepseq        >= 1.4 && < 1.6,
-            ghc-prim       >= 0.5.0 && < 0.12,
+            ghc-prim       >= 0.5.0 && < 0.14,
             ghci           == @ProjectVersionMunged@,
             haskeline      == 0.8.*,
             exceptions     == 0.10.*,
diff --git a/libraries/exceptions b/libraries/exceptions
index 0b6abb3ac433c7d1d5c6f6a5a45b37f7c486e33b..8e55b720f45db91f4895f710863ef9dbc10fe569 160000
--- a/libraries/exceptions
+++ b/libraries/exceptions
@@ -1 +1 @@
-Subproject commit 0b6abb3ac433c7d1d5c6f6a5a45b37f7c486e33b
+Subproject commit 8e55b720f45db91f4895f710863ef9dbc10fe569
diff --git a/libraries/ghc-bignum/ghc-bignum.cabal b/libraries/ghc-bignum/ghc-bignum.cabal
index b17ae6abf240c82421560c5b23744e7bbdf3392d..94625f6341de26cf2f4a4192d440c66453442ea1 100644
--- a/libraries/ghc-bignum/ghc-bignum.cabal
+++ b/libraries/ghc-bignum/ghc-bignum.cabal
@@ -77,7 +77,7 @@ library
     ForeignFunctionInterface
 
   build-depends:
-    ghc-prim >= 0.5.1.0 && < 0.12
+    ghc-prim >= 0.5.1.0 && < 0.14
 
   hs-source-dirs: src/
   include-dirs: include/
diff --git a/libraries/ghc-compact/ghc-compact.cabal b/libraries/ghc-compact/ghc-compact.cabal
index f4dc1842300fe400386c5a3f6bae4cc056376445..b3de1d495a205de055b8daf41763016afd03d04d 100644
--- a/libraries/ghc-compact/ghc-compact.cabal
+++ b/libraries/ghc-compact/ghc-compact.cabal
@@ -39,7 +39,7 @@ library
     UnboxedTuples
     CPP
 
-  build-depends: ghc-prim   >= 0.5.3 && < 0.12,
+  build-depends: ghc-prim   >= 0.5.3 && < 0.14,
                  base       >= 4.9.0 && < 4.22,
                  bytestring >= 0.10.6.0 && <0.13
   ghc-options: -Wall
diff --git a/libraries/ghc-experimental/ghc-experimental.cabal.in b/libraries/ghc-experimental/ghc-experimental.cabal.in
index 2d16bcd853a17ee0633c072f000117214657e9b1..3b94a6b15c5ea0f7c3741023ba54e8d5ec9be6cb 100644
--- a/libraries/ghc-experimental/ghc-experimental.cabal.in
+++ b/libraries/ghc-experimental/ghc-experimental.cabal.in
@@ -41,6 +41,6 @@ library
     other-extensions:
     build-depends:    base >=4.20 && < 4.22,
                       ghc-internal == @ProjectVersionForLib@.*,
-                      ghc-prim >= 0.11 && < 0.12
+                      ghc-prim >= 0.11 && < 0.14
     hs-source-dirs:   src
     default-language: Haskell2010
diff --git a/libraries/ghc-heap/ghc-heap.cabal.in b/libraries/ghc-heap/ghc-heap.cabal.in
index d6dd8d86cd753ce99f367ba17f5a5aa61410778c..d3430642e474e169acf2836b822034e9ac2c7a3d 100644
--- a/libraries/ghc-heap/ghc-heap.cabal.in
+++ b/libraries/ghc-heap/ghc-heap.cabal.in
@@ -23,7 +23,7 @@ library
   default-language: Haskell2010
 
   build-depends:    base             >= 4.9.0 && < 5.0
-                  , ghc-prim         > 0.2 && < 0.12
+                  , ghc-prim         > 0.2 && < 0.14
                   , rts              == 1.0.*
                   , containers       >= 0.6.2.1 && < 0.8
 
diff --git a/libraries/ghc-internal/ghc-internal.cabal.in b/libraries/ghc-internal/ghc-internal.cabal.in
index 78c922becf06b33234d8344626e6019bdb53d6f1..c7fe84820f2101c4b12f6fb10e21e85b618034b7 100644
--- a/libraries/ghc-internal/ghc-internal.cabal.in
+++ b/libraries/ghc-internal/ghc-internal.cabal.in
@@ -91,7 +91,7 @@ Library
 
     build-depends:
         rts == 1.0.*,
-        ghc-prim >= 0.11 && < 0.12,
+        ghc-prim >= 0.11 && < 0.14,
         ghc-bignum >= 1.0 && < 2.0
 
     exposed-modules:
diff --git a/libraries/ghc-prim/ghc-prim.cabal b/libraries/ghc-prim/ghc-prim.cabal
index d03dbf26ddaab6ac3654a0ef28e98895e0ec5915..4a62e3ab3af62de6295acfa7b0e721656ae0869f 100644
--- a/libraries/ghc-prim/ghc-prim.cabal
+++ b/libraries/ghc-prim/ghc-prim.cabal
@@ -1,6 +1,6 @@
 cabal-version:  2.2
 name:           ghc-prim
-version:        0.11.0
+version:        0.13.0
 -- NOTE: Don't forget to update ./changelog.md
 license:        BSD-3-Clause
 license-file:   LICENSE
diff --git a/libraries/ghci/ghci.cabal.in b/libraries/ghci/ghci.cabal.in
index 4e2d74d424d3b84796ceee6fd7997df15b309f6d..726b6d6826727f308e4137d65cf02a7afdc37cd1 100644
--- a/libraries/ghci/ghci.cabal.in
+++ b/libraries/ghci/ghci.cabal.in
@@ -90,7 +90,7 @@ library
         -- ghc-internal instead of ignoring the deprecation warning in GHCi.TH
         -- and GHCi.CreateBCO when we require ghc-internal of the bootstrap
         -- compiler
-        ghc-prim         >= 0.5.0 && < 0.12,
+        ghc-prim         >= 0.5.0 && < 0.14,
         binary           == 0.8.*,
         bytestring       >= 0.10 && < 0.13,
         containers       >= 0.5 && < 0.8,
diff --git a/libraries/template-haskell/template-haskell.cabal.in b/libraries/template-haskell/template-haskell.cabal.in
index 162504bfcbf351360b8a275ab7a4ac797d9f80d6..f2269b3173b6a3dec60f64a8b5c8175ed7fd9c54 100644
--- a/libraries/template-haskell/template-haskell.cabal.in
+++ b/libraries/template-haskell/template-haskell.cabal.in
@@ -3,7 +3,7 @@
 -- template-haskell.cabal.
 
 name:           template-haskell
-version:        2.22.1.0
+version:        2.23.0.0
 -- NOTE: Don't forget to update ./changelog.md
 license:        BSD3
 license-file:   LICENSE
diff --git a/libraries/text b/libraries/text
index ee0a8f8b9a4bd3fdad23e9ac0db56e7f08ce35cd..b86564cae8d7262c7c4e7afe7a9163c83de3f175 160000
--- a/libraries/text
+++ b/libraries/text
@@ -1 +1 @@
-Subproject commit ee0a8f8b9a4bd3fdad23e9ac0db56e7f08ce35cd
+Subproject commit b86564cae8d7262c7c4e7afe7a9163c83de3f175