#7153: GHC crashes with "(Array.!): undefined array element" while building
------------------------------+---------------------------------------------
 Reporter:  tibbe             |          Owner:                  
     Type:  bug               |         Status:  new             
 Priority:  normal            |      Component:  Compiler        
  Version:  7.6.1-rc1         |       Keywords:                  
       Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
  Failure:  None/Unknown      |       Testcase:                  
Blockedby:                    |       Blocking:                  
  Related:                    |  
------------------------------+---------------------------------------------
Description changed by tibbe:

Old description:

> I switched my build bot to use 7.6.1-rc1 today and the Cabal build failed
> with an error in GHC:
>
> ```
> Started by an SCM change
> Building in workspace /var/lib/jenkins/workspace/cabal
> Checkout:cabal / /var/lib/jenkins/workspace/cabal -
> hudson.remoting.LocalChannel@1ada1e0
> Using strategy: Default
> Last Built Revision: Revision b1bc9417d696fb145fc5bbc252ecac594c23e6f1
> (origin/master)
> Fetching changes from 1 remote Git repository
> Fetching upstream changes from https://github.com/haskell/cabal.git
> Commencing build of Revision 698ec39fc520298221b8f45fbe5b05927de26558
> (origin/master)
> Checking out Revision 698ec39fc520298221b8f45fbe5b05927de26558
> (origin/master)
> [cabal] $ /bin/sh -xe /tmp/hudson2234053132228099538.sh
> + cd Cabal
> + cabal install --only-dependencies --enable-tests
> Resolving dependencies...
> All the requested packages are already installed:
> Use --reinstall if you want to reinstall anyway.
> + cabal clean
> cleaning...
> + cabal configure --enable-tests --ghc-option=+RTS --ghc-option=-M300m
> --ghc-option=-RTS
> Resolving dependencies...
> [ 1 of 65] Compiling Distribution.Compat.Exception (
> Distribution/Compat/Exception.hs,
> dist/setup/Distribution/Compat/Exception.o )
> [ 2 of 65] Compiling Distribution.Compat.TempFile (
> Distribution/Compat/TempFile.hs,
> dist/setup/Distribution/Compat/TempFile.o )
> [ 3 of 65] Compiling Distribution.Compat.CopyFile (
> Distribution/Compat/CopyFile.hs,
> dist/setup/Distribution/Compat/CopyFile.o )
> [ 4 of 65] Compiling Distribution.GetOpt ( Distribution/GetOpt.hs,
> dist/setup/Distribution/GetOpt.o )
> [ 5 of 65] Compiling Distribution.Compat.ReadP (
> Distribution/Compat/ReadP.hs, dist/setup/Distribution/Compat/ReadP.o )
> [ 6 of 65] Compiling Distribution.Text ( Distribution/Text.hs,
> dist/setup/Distribution/Text.o )
> [ 7 of 65] Compiling Distribution.Version ( Distribution/Version.hs,
> dist/setup/Distribution/Version.o )
> [ 8 of 65] Compiling Language.Haskell.Extension (
> Language/Haskell/Extension.hs, dist/setup/Language/Haskell/Extension.o )
> [ 9 of 65] Compiling Distribution.TestSuite ( Distribution/TestSuite.hs,
> dist/setup/Distribution/TestSuite.o )
> [10 of 65] Compiling Distribution.System ( Distribution/System.hs,
> dist/setup/Distribution/System.o )
> [11 of 65] Compiling Distribution.Simple.PreProcess.Unlit (
> Distribution/Simple/PreProcess/Unlit.hs,
> dist/setup/Distribution/Simple/PreProcess/Unlit.o )
> [12 of 65] Compiling Distribution.ReadE ( Distribution/ReadE.hs,
> dist/setup/Distribution/ReadE.o )
> [13 of 65] Compiling Distribution.Verbosity ( Distribution/Verbosity.hs,
> dist/setup/Distribution/Verbosity.o )
> [14 of 65] Compiling Distribution.Package ( Distribution/Package.hs,
> dist/setup/Distribution/Package.o )
> [15 of 65] Compiling Distribution.ModuleName (
> Distribution/ModuleName.hs, dist/setup/Distribution/ModuleName.o )
> [16 of 65] Compiling Distribution.Simple.Utils (
> Distribution/Simple/Utils.hs, dist/setup/Distribution/Simple/Utils.o )
> [17 of 65] Compiling Distribution.Simple.Program.Types (
> Distribution/Simple/Program/Types.hs,
> dist/setup/Distribution/Simple/Program/Types.o )
> [18 of 65] Compiling Distribution.Simple.Program.Builtin (
> Distribution/Simple/Program/Builtin.hs,
> dist/setup/Distribution/Simple/Program/Builtin.o )
> [19 of 65] Compiling Distribution.Simple.Program.Db (
> Distribution/Simple/Program/Db.hs,
> dist/setup/Distribution/Simple/Program/Db.o )
> [20 of 65] Compiling Distribution.Simple.Program.Run (
> Distribution/Simple/Program/Run.hs,
> dist/setup/Distribution/Simple/Program/Run.o )
> [21 of 65] Compiling Distribution.Simple.Program (
> Distribution/Simple/Program.hs, dist/setup/Distribution/Simple/Program.o
> )
> [22 of 65] Compiling Distribution.Simple.Program.Ar (
> Distribution/Simple/Program/Ar.hs,
> dist/setup/Distribution/Simple/Program/Ar.o )
> [23 of 65] Compiling Distribution.Simple.Program.Hpc (
> Distribution/Simple/Program/Hpc.hs,
> dist/setup/Distribution/Simple/Program/Hpc.o )
> [24 of 65] Compiling Distribution.Simple.Program.Ld (
> Distribution/Simple/Program/Ld.hs,
> dist/setup/Distribution/Simple/Program/Ld.o )
> [25 of 65] Compiling Distribution.Simple.Program.Script (
> Distribution/Simple/Program/Script.hs,
> dist/setup/Distribution/Simple/Program/Script.o )
> [26 of 65] Compiling Distribution.License ( Distribution/License.hs,
> dist/setup/Distribution/License.o )
> [27 of 65] Compiling Distribution.Compiler ( Distribution/Compiler.hs,
> dist/setup/Distribution/Compiler.o )
> [28 of 65] Compiling Distribution.PackageDescription (
> Distribution/PackageDescription.hs,
> dist/setup/Distribution/PackageDescription.o )
> [29 of 65] Compiling Distribution.PackageDescription.Configuration (
> Distribution/PackageDescription/Configuration.hs,
> dist/setup/Distribution/PackageDescription/Configuration.o )
> [30 of 65] Compiling Distribution.PackageDescription.Check (
> Distribution/PackageDescription/Check.hs,
> dist/setup/Distribution/PackageDescription/Check.o )
> [31 of 65] Compiling Distribution.ParseUtils (
> Distribution/ParseUtils.hs, dist/setup/Distribution/ParseUtils.o )
> [32 of 65] Compiling Distribution.InstalledPackageInfo (
> Distribution/InstalledPackageInfo.hs,
> dist/setup/Distribution/InstalledPackageInfo.o )
> [33 of 65] Compiling Distribution.Simple.PackageIndex (
> Distribution/Simple/PackageIndex.hs,
> dist/setup/Distribution/Simple/PackageIndex.o )
> [34 of 65] Compiling Distribution.Simple.GHC.IPI642 (
> Distribution/Simple/GHC/IPI642.hs,
> dist/setup/Distribution/Simple/GHC/IPI642.o )
> [35 of 65] Compiling Distribution.Simple.GHC.IPI641 (
> Distribution/Simple/GHC/IPI641.hs,
> dist/setup/Distribution/Simple/GHC/IPI641.o )
> [36 of 65] Compiling Distribution.PackageDescription.Parse (
> Distribution/PackageDescription/Parse.hs,
> dist/setup/Distribution/PackageDescription/Parse.o )
> [37 of 65] Compiling Distribution.Simple.Command (
> Distribution/Simple/Command.hs, dist/setup/Distribution/Simple/Command.o
> )
> [38 of 65] Compiling Distribution.Simple.Compiler (
> Distribution/Simple/Compiler.hs,
> dist/setup/Distribution/Simple/Compiler.o )
> [39 of 65] Compiling Distribution.Simple.Program.HcPkg (
> Distribution/Simple/Program/HcPkg.hs,
> dist/setup/Distribution/Simple/Program/HcPkg.o )
> [40 of 65] Compiling Distribution.Simple.InstallDirs (
> Distribution/Simple/InstallDirs.hs,
> dist/setup/Distribution/Simple/InstallDirs.o )
> [41 of 65] Compiling Distribution.Simple.Setup (
> Distribution/Simple/Setup.hs, dist/setup/Distribution/Simple/Setup.o )
> [42 of 65] Compiling Distribution.Simple.LocalBuildInfo (
> Distribution/Simple/LocalBuildInfo.hs,
> dist/setup/Distribution/Simple/LocalBuildInfo.o )
> [43 of 65] Compiling Distribution.Simple.Build.Macros (
> Distribution/Simple/Build/Macros.hs,
> dist/setup/Distribution/Simple/Build/Macros.o )
> [44 of 65] Compiling Distribution.Simple.BuildPaths (
> Distribution/Simple/BuildPaths.hs,
> dist/setup/Distribution/Simple/BuildPaths.o )
> [45 of 65] Compiling Distribution.Simple.Build.PathsModule (
> Distribution/Simple/Build/PathsModule.hs,
> dist/setup/Distribution/Simple/Build/PathsModule.o )
> [46 of 65] Compiling Distribution.Simple.LHC (
> Distribution/Simple/LHC.hs, dist/setup/Distribution/Simple/LHC.o )
> [47 of 65] Compiling Distribution.Simple.Hpc (
> Distribution/Simple/Hpc.hs, dist/setup/Distribution/Simple/Hpc.o )
> [48 of 65] Compiling Distribution.Simple.JHC (
> Distribution/Simple/JHC.hs, dist/setup/Distribution/Simple/JHC.o )
> [49 of 65] Compiling Distribution.Simple.NHC (
> Distribution/Simple/NHC.hs, dist/setup/Distribution/Simple/NHC.o )
> [50 of 65] Compiling Distribution.Simple.UHC (
> Distribution/Simple/UHC.hs, dist/setup/Distribution/Simple/UHC.o )
> [51 of 65] Compiling Distribution.Simple.Program.GHC (
> Distribution/Simple/Program/GHC.hs,
> dist/setup/Distribution/Simple/Program/GHC.o )
> [52 of 65] Compiling Distribution.Simple.GHC (
> Distribution/Simple/GHC.hs, dist/setup/Distribution/Simple/GHC.o )
> [53 of 65] Compiling Distribution.Simple.Test (
> Distribution/Simple/Test.hs, dist/setup/Distribution/Simple/Test.o )
> [54 of 65] Compiling Distribution.Simple.PreProcess (
> Distribution/Simple/PreProcess.hs,
> dist/setup/Distribution/Simple/PreProcess.o )
> [55 of 65] Compiling Distribution.Simple.Hugs (
> Distribution/Simple/Hugs.hs, dist/setup/Distribution/Simple/Hugs.o )
> [56 of 65] Compiling Distribution.Simple.Configure (
> Distribution/Simple/Configure.hs,
> dist/setup/Distribution/Simple/Configure.o )
> [57 of 65] Compiling Distribution.Simple.Install (
> Distribution/Simple/Install.hs, dist/setup/Distribution/Simple/Install.o
> )
> [58 of 65] Compiling Distribution.Simple.Register (
> Distribution/Simple/Register.hs,
> dist/setup/Distribution/Simple/Register.o )
> [59 of 65] Compiling Distribution.Simple.Build (
> Distribution/Simple/Build.hs, dist/setup/Distribution/Simple/Build.o )
> [60 of 65] Compiling Distribution.Simple.Haddock (
> Distribution/Simple/Haddock.hs, dist/setup/Distribution/Simple/Haddock.o
> )
> [61 of 65] Compiling Distribution.Simple.SrcDist (
> Distribution/Simple/SrcDist.hs, dist/setup/Distribution/Simple/SrcDist.o
> )
> [62 of 65] Compiling Distribution.Simple.UserHooks (
> Distribution/Simple/UserHooks.hs,
> dist/setup/Distribution/Simple/UserHooks.o )
> [63 of 65] Compiling Distribution.Simple.Bench (
> Distribution/Simple/Bench.hs, dist/setup/Distribution/Simple/Bench.o )
> [64 of 65] Compiling Distribution.Simple ( Distribution/Simple.hs,
> dist/setup/Distribution/Simple.o )
> [65 of 65] Compiling Main             ( Setup.hs, dist/setup/Main.o )
> Linking ./dist/setup/setup ...
> Configuring Cabal-1.17.0...
> + cabal build
> Building Cabal-1.17.0...
> Preprocessing library Cabal-1.17.0...
> [ 1 of 67] Compiling Paths_Cabal      (
> dist/build/autogen/Paths_Cabal.hs, dist/build/Paths_Cabal.o )
> [ 2 of 67] Compiling Distribution.TestSuite ( Distribution/TestSuite.hs,
> dist/build/Distribution/TestSuite.o )
> [ 3 of 67] Compiling Distribution.Simple.PreProcess.Unlit (
> Distribution/Simple/PreProcess/Unlit.hs,
> dist/build/Distribution/Simple/PreProcess/Unlit.o )
> [ 4 of 67] Compiling Distribution.GetOpt ( Distribution/GetOpt.hs,
> dist/build/Distribution/GetOpt.o )
> [ 5 of 67] Compiling Distribution.Compat.Exception (
> Distribution/Compat/Exception.hs,
> dist/build/Distribution/Compat/Exception.o )
> [ 6 of 67] Compiling Distribution.Compat.TempFile (
> Distribution/Compat/TempFile.hs,
> dist/build/Distribution/Compat/TempFile.o )
> [ 7 of 67] Compiling Distribution.Compat.CopyFile (
> Distribution/Compat/CopyFile.hs,
> dist/build/Distribution/Compat/CopyFile.o )
> [ 8 of 67] Compiling Distribution.Compat.ReadP (
> Distribution/Compat/ReadP.hs, dist/build/Distribution/Compat/ReadP.o )
> [ 9 of 67] Compiling Distribution.ReadE ( Distribution/ReadE.hs,
> dist/build/Distribution/ReadE.o )
> [10 of 67] Compiling Distribution.Verbosity ( Distribution/Verbosity.hs,
> dist/build/Distribution/Verbosity.o )
> [11 of 67] Compiling Distribution.Text ( Distribution/Text.hs,
> dist/build/Distribution/Text.o )
> [12 of 67] Compiling Distribution.ModuleName (
> Distribution/ModuleName.hs, dist/build/Distribution/ModuleName.o )
> [13 of 67] Compiling Distribution.System ( Distribution/System.hs,
> dist/build/Distribution/System.o )
> [14 of 67] Compiling Language.Haskell.Extension (
> Language/Haskell/Extension.hs, dist/build/Language/Haskell/Extension.o )
> [15 of 67] Compiling Distribution.Version ( Distribution/Version.hs,
> dist/build/Distribution/Version.o )
> [16 of 67] Compiling Distribution.License ( Distribution/License.hs,
> dist/build/Distribution/License.o )
> [17 of 67] Compiling Distribution.Package ( Distribution/Package.hs,
> dist/build/Distribution/Package.o )
> [18 of 67] Compiling Distribution.Simple.Utils (
> Distribution/Simple/Utils.hs, dist/build/Distribution/Simple/Utils.o )
> [19 of 67] Compiling Distribution.Simple.Program.Types (
> Distribution/Simple/Program/Types.hs,
> dist/build/Distribution/Simple/Program/Types.o )
> [20 of 67] Compiling Distribution.Simple.Program.Run (
> Distribution/Simple/Program/Run.hs,
> dist/build/Distribution/Simple/Program/Run.o )
> [21 of 67] Compiling Distribution.Simple.Program.Ar (
> Distribution/Simple/Program/Ar.hs,
> dist/build/Distribution/Simple/Program/Ar.o )
> [22 of 67] Compiling Distribution.Simple.Program.Ld (
> Distribution/Simple/Program/Ld.hs,
> dist/build/Distribution/Simple/Program/Ld.o )
> [23 of 67] Compiling Distribution.Simple.Program.Hpc (
> Distribution/Simple/Program/Hpc.hs,
> dist/build/Distribution/Simple/Program/Hpc.o )
> [24 of 67] Compiling Distribution.Simple.Program.Script (
> Distribution/Simple/Program/Script.hs,
> dist/build/Distribution/Simple/Program/Script.o )
> [25 of 67] Compiling Distribution.Simple.Program.Builtin (
> Distribution/Simple/Program/Builtin.hs,
> dist/build/Distribution/Simple/Program/Builtin.o )
> [26 of 67] Compiling Distribution.Simple.Program.Db (
> Distribution/Simple/Program/Db.hs,
> dist/build/Distribution/Simple/Program/Db.o )
> [27 of 67] Compiling Distribution.Simple.Program (
> Distribution/Simple/Program.hs, dist/build/Distribution/Simple/Program.o
> )
> [28 of 67] Compiling Distribution.Compiler ( Distribution/Compiler.hs,
> dist/build/Distribution/Compiler.o )
> [29 of 67] Compiling Distribution.ParseUtils (
> Distribution/ParseUtils.hs, dist/build/Distribution/ParseUtils.o )
> [30 of 67] Compiling Distribution.InstalledPackageInfo (
> Distribution/InstalledPackageInfo.hs,
> dist/build/Distribution/InstalledPackageInfo.o )
> [31 of 67] Compiling Distribution.Simple.PackageIndex (
> Distribution/Simple/PackageIndex.hs,
> dist/build/Distribution/Simple/PackageIndex.o )
> [32 of 67] Compiling Distribution.Simple.GHC.IPI642 (
> Distribution/Simple/GHC/IPI642.hs,
> dist/build/Distribution/Simple/GHC/IPI642.o )
> [33 of 67] Compiling Distribution.Simple.GHC.IPI641 (
> Distribution/Simple/GHC/IPI641.hs,
> dist/build/Distribution/Simple/GHC/IPI641.o )
> [34 of 67] Compiling Distribution.Simple.Command (
> Distribution/Simple/Command.hs, dist/build/Distribution/Simple/Command.o
> )
> [35 of 67] Compiling Distribution.PackageDescription (
> Distribution/PackageDescription.hs,
> dist/build/Distribution/PackageDescription.o )
> ghc: panic! (the 'impossible' happened)
>   (GHC version 7.6.0.20120810 for i386-unknown-linux):
>         (Array.!): undefined array element
>
> Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
>
> Build step 'Execute shell' marked build as failure
> Recording test results
> Sending e-mails to: johan.tib...@gmail.com
> Finished: FAILURE
> ```

New description:

 I switched my build bot to use 7.6.1-rc1 today and the Cabal build failed
 with an error in GHC:

 {{{
 Started by an SCM change
 Building in workspace /var/lib/jenkins/workspace/cabal
 Checkout:cabal / /var/lib/jenkins/workspace/cabal -
 hudson.remoting.LocalChannel@1ada1e0
 Using strategy: Default
 Last Built Revision: Revision b1bc9417d696fb145fc5bbc252ecac594c23e6f1
 (origin/master)
 Fetching changes from 1 remote Git repository
 Fetching upstream changes from https://github.com/haskell/cabal.git
 Commencing build of Revision 698ec39fc520298221b8f45fbe5b05927de26558
 (origin/master)
 Checking out Revision 698ec39fc520298221b8f45fbe5b05927de26558
 (origin/master)
 [cabal] $ /bin/sh -xe /tmp/hudson2234053132228099538.sh
 + cd Cabal
 + cabal install --only-dependencies --enable-tests
 Resolving dependencies...
 All the requested packages are already installed:
 Use --reinstall if you want to reinstall anyway.
 + cabal clean
 cleaning...
 + cabal configure --enable-tests --ghc-option=+RTS --ghc-option=-M300m
 --ghc-option=-RTS
 Resolving dependencies...
 [ 1 of 65] Compiling Distribution.Compat.Exception (
 Distribution/Compat/Exception.hs,
 dist/setup/Distribution/Compat/Exception.o )
 [ 2 of 65] Compiling Distribution.Compat.TempFile (
 Distribution/Compat/TempFile.hs, dist/setup/Distribution/Compat/TempFile.o
 )
 [ 3 of 65] Compiling Distribution.Compat.CopyFile (
 Distribution/Compat/CopyFile.hs, dist/setup/Distribution/Compat/CopyFile.o
 )
 [ 4 of 65] Compiling Distribution.GetOpt ( Distribution/GetOpt.hs,
 dist/setup/Distribution/GetOpt.o )
 [ 5 of 65] Compiling Distribution.Compat.ReadP (
 Distribution/Compat/ReadP.hs, dist/setup/Distribution/Compat/ReadP.o )
 [ 6 of 65] Compiling Distribution.Text ( Distribution/Text.hs,
 dist/setup/Distribution/Text.o )
 [ 7 of 65] Compiling Distribution.Version ( Distribution/Version.hs,
 dist/setup/Distribution/Version.o )
 [ 8 of 65] Compiling Language.Haskell.Extension (
 Language/Haskell/Extension.hs, dist/setup/Language/Haskell/Extension.o )
 [ 9 of 65] Compiling Distribution.TestSuite ( Distribution/TestSuite.hs,
 dist/setup/Distribution/TestSuite.o )
 [10 of 65] Compiling Distribution.System ( Distribution/System.hs,
 dist/setup/Distribution/System.o )
 [11 of 65] Compiling Distribution.Simple.PreProcess.Unlit (
 Distribution/Simple/PreProcess/Unlit.hs,
 dist/setup/Distribution/Simple/PreProcess/Unlit.o )
 [12 of 65] Compiling Distribution.ReadE ( Distribution/ReadE.hs,
 dist/setup/Distribution/ReadE.o )
 [13 of 65] Compiling Distribution.Verbosity ( Distribution/Verbosity.hs,
 dist/setup/Distribution/Verbosity.o )
 [14 of 65] Compiling Distribution.Package ( Distribution/Package.hs,
 dist/setup/Distribution/Package.o )
 [15 of 65] Compiling Distribution.ModuleName ( Distribution/ModuleName.hs,
 dist/setup/Distribution/ModuleName.o )
 [16 of 65] Compiling Distribution.Simple.Utils (
 Distribution/Simple/Utils.hs, dist/setup/Distribution/Simple/Utils.o )
 [17 of 65] Compiling Distribution.Simple.Program.Types (
 Distribution/Simple/Program/Types.hs,
 dist/setup/Distribution/Simple/Program/Types.o )
 [18 of 65] Compiling Distribution.Simple.Program.Builtin (
 Distribution/Simple/Program/Builtin.hs,
 dist/setup/Distribution/Simple/Program/Builtin.o )
 [19 of 65] Compiling Distribution.Simple.Program.Db (
 Distribution/Simple/Program/Db.hs,
 dist/setup/Distribution/Simple/Program/Db.o )
 [20 of 65] Compiling Distribution.Simple.Program.Run (
 Distribution/Simple/Program/Run.hs,
 dist/setup/Distribution/Simple/Program/Run.o )
 [21 of 65] Compiling Distribution.Simple.Program (
 Distribution/Simple/Program.hs, dist/setup/Distribution/Simple/Program.o )
 [22 of 65] Compiling Distribution.Simple.Program.Ar (
 Distribution/Simple/Program/Ar.hs,
 dist/setup/Distribution/Simple/Program/Ar.o )
 [23 of 65] Compiling Distribution.Simple.Program.Hpc (
 Distribution/Simple/Program/Hpc.hs,
 dist/setup/Distribution/Simple/Program/Hpc.o )
 [24 of 65] Compiling Distribution.Simple.Program.Ld (
 Distribution/Simple/Program/Ld.hs,
 dist/setup/Distribution/Simple/Program/Ld.o )
 [25 of 65] Compiling Distribution.Simple.Program.Script (
 Distribution/Simple/Program/Script.hs,
 dist/setup/Distribution/Simple/Program/Script.o )
 [26 of 65] Compiling Distribution.License ( Distribution/License.hs,
 dist/setup/Distribution/License.o )
 [27 of 65] Compiling Distribution.Compiler ( Distribution/Compiler.hs,
 dist/setup/Distribution/Compiler.o )
 [28 of 65] Compiling Distribution.PackageDescription (
 Distribution/PackageDescription.hs,
 dist/setup/Distribution/PackageDescription.o )
 [29 of 65] Compiling Distribution.PackageDescription.Configuration (
 Distribution/PackageDescription/Configuration.hs,
 dist/setup/Distribution/PackageDescription/Configuration.o )
 [30 of 65] Compiling Distribution.PackageDescription.Check (
 Distribution/PackageDescription/Check.hs,
 dist/setup/Distribution/PackageDescription/Check.o )
 [31 of 65] Compiling Distribution.ParseUtils ( Distribution/ParseUtils.hs,
 dist/setup/Distribution/ParseUtils.o )
 [32 of 65] Compiling Distribution.InstalledPackageInfo (
 Distribution/InstalledPackageInfo.hs,
 dist/setup/Distribution/InstalledPackageInfo.o )
 [33 of 65] Compiling Distribution.Simple.PackageIndex (
 Distribution/Simple/PackageIndex.hs,
 dist/setup/Distribution/Simple/PackageIndex.o )
 [34 of 65] Compiling Distribution.Simple.GHC.IPI642 (
 Distribution/Simple/GHC/IPI642.hs,
 dist/setup/Distribution/Simple/GHC/IPI642.o )
 [35 of 65] Compiling Distribution.Simple.GHC.IPI641 (
 Distribution/Simple/GHC/IPI641.hs,
 dist/setup/Distribution/Simple/GHC/IPI641.o )
 [36 of 65] Compiling Distribution.PackageDescription.Parse (
 Distribution/PackageDescription/Parse.hs,
 dist/setup/Distribution/PackageDescription/Parse.o )
 [37 of 65] Compiling Distribution.Simple.Command (
 Distribution/Simple/Command.hs, dist/setup/Distribution/Simple/Command.o )
 [38 of 65] Compiling Distribution.Simple.Compiler (
 Distribution/Simple/Compiler.hs, dist/setup/Distribution/Simple/Compiler.o
 )
 [39 of 65] Compiling Distribution.Simple.Program.HcPkg (
 Distribution/Simple/Program/HcPkg.hs,
 dist/setup/Distribution/Simple/Program/HcPkg.o )
 [40 of 65] Compiling Distribution.Simple.InstallDirs (
 Distribution/Simple/InstallDirs.hs,
 dist/setup/Distribution/Simple/InstallDirs.o )
 [41 of 65] Compiling Distribution.Simple.Setup (
 Distribution/Simple/Setup.hs, dist/setup/Distribution/Simple/Setup.o )
 [42 of 65] Compiling Distribution.Simple.LocalBuildInfo (
 Distribution/Simple/LocalBuildInfo.hs,
 dist/setup/Distribution/Simple/LocalBuildInfo.o )
 [43 of 65] Compiling Distribution.Simple.Build.Macros (
 Distribution/Simple/Build/Macros.hs,
 dist/setup/Distribution/Simple/Build/Macros.o )
 [44 of 65] Compiling Distribution.Simple.BuildPaths (
 Distribution/Simple/BuildPaths.hs,
 dist/setup/Distribution/Simple/BuildPaths.o )
 [45 of 65] Compiling Distribution.Simple.Build.PathsModule (
 Distribution/Simple/Build/PathsModule.hs,
 dist/setup/Distribution/Simple/Build/PathsModule.o )
 [46 of 65] Compiling Distribution.Simple.LHC ( Distribution/Simple/LHC.hs,
 dist/setup/Distribution/Simple/LHC.o )
 [47 of 65] Compiling Distribution.Simple.Hpc ( Distribution/Simple/Hpc.hs,
 dist/setup/Distribution/Simple/Hpc.o )
 [48 of 65] Compiling Distribution.Simple.JHC ( Distribution/Simple/JHC.hs,
 dist/setup/Distribution/Simple/JHC.o )
 [49 of 65] Compiling Distribution.Simple.NHC ( Distribution/Simple/NHC.hs,
 dist/setup/Distribution/Simple/NHC.o )
 [50 of 65] Compiling Distribution.Simple.UHC ( Distribution/Simple/UHC.hs,
 dist/setup/Distribution/Simple/UHC.o )
 [51 of 65] Compiling Distribution.Simple.Program.GHC (
 Distribution/Simple/Program/GHC.hs,
 dist/setup/Distribution/Simple/Program/GHC.o )
 [52 of 65] Compiling Distribution.Simple.GHC ( Distribution/Simple/GHC.hs,
 dist/setup/Distribution/Simple/GHC.o )
 [53 of 65] Compiling Distribution.Simple.Test (
 Distribution/Simple/Test.hs, dist/setup/Distribution/Simple/Test.o )
 [54 of 65] Compiling Distribution.Simple.PreProcess (
 Distribution/Simple/PreProcess.hs,
 dist/setup/Distribution/Simple/PreProcess.o )
 [55 of 65] Compiling Distribution.Simple.Hugs (
 Distribution/Simple/Hugs.hs, dist/setup/Distribution/Simple/Hugs.o )
 [56 of 65] Compiling Distribution.Simple.Configure (
 Distribution/Simple/Configure.hs,
 dist/setup/Distribution/Simple/Configure.o )
 [57 of 65] Compiling Distribution.Simple.Install (
 Distribution/Simple/Install.hs, dist/setup/Distribution/Simple/Install.o )
 [58 of 65] Compiling Distribution.Simple.Register (
 Distribution/Simple/Register.hs, dist/setup/Distribution/Simple/Register.o
 )
 [59 of 65] Compiling Distribution.Simple.Build (
 Distribution/Simple/Build.hs, dist/setup/Distribution/Simple/Build.o )
 [60 of 65] Compiling Distribution.Simple.Haddock (
 Distribution/Simple/Haddock.hs, dist/setup/Distribution/Simple/Haddock.o )
 [61 of 65] Compiling Distribution.Simple.SrcDist (
 Distribution/Simple/SrcDist.hs, dist/setup/Distribution/Simple/SrcDist.o )
 [62 of 65] Compiling Distribution.Simple.UserHooks (
 Distribution/Simple/UserHooks.hs,
 dist/setup/Distribution/Simple/UserHooks.o )
 [63 of 65] Compiling Distribution.Simple.Bench (
 Distribution/Simple/Bench.hs, dist/setup/Distribution/Simple/Bench.o )
 [64 of 65] Compiling Distribution.Simple ( Distribution/Simple.hs,
 dist/setup/Distribution/Simple.o )
 [65 of 65] Compiling Main             ( Setup.hs, dist/setup/Main.o )
 Linking ./dist/setup/setup ...
 Configuring Cabal-1.17.0...
 + cabal build
 Building Cabal-1.17.0...
 Preprocessing library Cabal-1.17.0...
 [ 1 of 67] Compiling Paths_Cabal      ( dist/build/autogen/Paths_Cabal.hs,
 dist/build/Paths_Cabal.o )
 [ 2 of 67] Compiling Distribution.TestSuite ( Distribution/TestSuite.hs,
 dist/build/Distribution/TestSuite.o )
 [ 3 of 67] Compiling Distribution.Simple.PreProcess.Unlit (
 Distribution/Simple/PreProcess/Unlit.hs,
 dist/build/Distribution/Simple/PreProcess/Unlit.o )
 [ 4 of 67] Compiling Distribution.GetOpt ( Distribution/GetOpt.hs,
 dist/build/Distribution/GetOpt.o )
 [ 5 of 67] Compiling Distribution.Compat.Exception (
 Distribution/Compat/Exception.hs,
 dist/build/Distribution/Compat/Exception.o )
 [ 6 of 67] Compiling Distribution.Compat.TempFile (
 Distribution/Compat/TempFile.hs, dist/build/Distribution/Compat/TempFile.o
 )
 [ 7 of 67] Compiling Distribution.Compat.CopyFile (
 Distribution/Compat/CopyFile.hs, dist/build/Distribution/Compat/CopyFile.o
 )
 [ 8 of 67] Compiling Distribution.Compat.ReadP (
 Distribution/Compat/ReadP.hs, dist/build/Distribution/Compat/ReadP.o )
 [ 9 of 67] Compiling Distribution.ReadE ( Distribution/ReadE.hs,
 dist/build/Distribution/ReadE.o )
 [10 of 67] Compiling Distribution.Verbosity ( Distribution/Verbosity.hs,
 dist/build/Distribution/Verbosity.o )
 [11 of 67] Compiling Distribution.Text ( Distribution/Text.hs,
 dist/build/Distribution/Text.o )
 [12 of 67] Compiling Distribution.ModuleName ( Distribution/ModuleName.hs,
 dist/build/Distribution/ModuleName.o )
 [13 of 67] Compiling Distribution.System ( Distribution/System.hs,
 dist/build/Distribution/System.o )
 [14 of 67] Compiling Language.Haskell.Extension (
 Language/Haskell/Extension.hs, dist/build/Language/Haskell/Extension.o )
 [15 of 67] Compiling Distribution.Version ( Distribution/Version.hs,
 dist/build/Distribution/Version.o )
 [16 of 67] Compiling Distribution.License ( Distribution/License.hs,
 dist/build/Distribution/License.o )
 [17 of 67] Compiling Distribution.Package ( Distribution/Package.hs,
 dist/build/Distribution/Package.o )
 [18 of 67] Compiling Distribution.Simple.Utils (
 Distribution/Simple/Utils.hs, dist/build/Distribution/Simple/Utils.o )
 [19 of 67] Compiling Distribution.Simple.Program.Types (
 Distribution/Simple/Program/Types.hs,
 dist/build/Distribution/Simple/Program/Types.o )
 [20 of 67] Compiling Distribution.Simple.Program.Run (
 Distribution/Simple/Program/Run.hs,
 dist/build/Distribution/Simple/Program/Run.o )
 [21 of 67] Compiling Distribution.Simple.Program.Ar (
 Distribution/Simple/Program/Ar.hs,
 dist/build/Distribution/Simple/Program/Ar.o )
 [22 of 67] Compiling Distribution.Simple.Program.Ld (
 Distribution/Simple/Program/Ld.hs,
 dist/build/Distribution/Simple/Program/Ld.o )
 [23 of 67] Compiling Distribution.Simple.Program.Hpc (
 Distribution/Simple/Program/Hpc.hs,
 dist/build/Distribution/Simple/Program/Hpc.o )
 [24 of 67] Compiling Distribution.Simple.Program.Script (
 Distribution/Simple/Program/Script.hs,
 dist/build/Distribution/Simple/Program/Script.o )
 [25 of 67] Compiling Distribution.Simple.Program.Builtin (
 Distribution/Simple/Program/Builtin.hs,
 dist/build/Distribution/Simple/Program/Builtin.o )
 [26 of 67] Compiling Distribution.Simple.Program.Db (
 Distribution/Simple/Program/Db.hs,
 dist/build/Distribution/Simple/Program/Db.o )
 [27 of 67] Compiling Distribution.Simple.Program (
 Distribution/Simple/Program.hs, dist/build/Distribution/Simple/Program.o )
 [28 of 67] Compiling Distribution.Compiler ( Distribution/Compiler.hs,
 dist/build/Distribution/Compiler.o )
 [29 of 67] Compiling Distribution.ParseUtils ( Distribution/ParseUtils.hs,
 dist/build/Distribution/ParseUtils.o )
 [30 of 67] Compiling Distribution.InstalledPackageInfo (
 Distribution/InstalledPackageInfo.hs,
 dist/build/Distribution/InstalledPackageInfo.o )
 [31 of 67] Compiling Distribution.Simple.PackageIndex (
 Distribution/Simple/PackageIndex.hs,
 dist/build/Distribution/Simple/PackageIndex.o )
 [32 of 67] Compiling Distribution.Simple.GHC.IPI642 (
 Distribution/Simple/GHC/IPI642.hs,
 dist/build/Distribution/Simple/GHC/IPI642.o )
 [33 of 67] Compiling Distribution.Simple.GHC.IPI641 (
 Distribution/Simple/GHC/IPI641.hs,
 dist/build/Distribution/Simple/GHC/IPI641.o )
 [34 of 67] Compiling Distribution.Simple.Command (
 Distribution/Simple/Command.hs, dist/build/Distribution/Simple/Command.o )
 [35 of 67] Compiling Distribution.PackageDescription (
 Distribution/PackageDescription.hs,
 dist/build/Distribution/PackageDescription.o )
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.6.0.20120810 for i386-unknown-linux):
         (Array.!): undefined array element

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

 Build step 'Execute shell' marked build as failure
 Recording test results
 Sending e-mails to: johan.tib...@gmail.com
 Finished: FAILURE
 }}}

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7153#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to