diff --git a/ghc-srcspan-plugin.cabal b/ghc-srcspan-plugin.cabal
--- a/ghc-srcspan-plugin.cabal
+++ b/ghc-srcspan-plugin.cabal
@@ -2,7 +2,7 @@
 -- documentation, see http://haskell.org/cabal/users-guide/
 
 name:                ghc-srcspan-plugin
-version:             0.2.2.0
+version:             0.2.2.1
 synopsis:            Generic GHC Plugin for annotating Haskell code with source
                      location data.
 description:         This package provides a generic Core-to-Core pass for
diff --git a/src/GHC/Plugins/ErrorLoc.hs b/src/GHC/Plugins/ErrorLoc.hs
--- a/src/GHC/Plugins/ErrorLoc.hs
+++ b/src/GHC/Plugins/ErrorLoc.hs
@@ -12,7 +12,9 @@
 
 install :: [CommandLineOption] -> [CoreToDo] -> CoreM [CoreToDo]
 install opts todos = do
+#if __GLASGOW_HASKELL__ < 802
   reinitializeGlobals
+#endif
 
   hsc_env <- getHscEnv
   errLocM <- lookupModule (mkModuleName "GHC.Plugins.ErrorLoc") Nothing
