[GHC] #9964: GHC crash with NOINLINE and weird IO stuff

GHC ghc-devs at haskell.org
Thu Mar 19 21:15:44 UTC 2015


#9964: GHC crash with NOINLINE and weird IO stuff
-------------------------------------+-------------------------------------
        Reporter:  dfeuer            |                   Owner:
            Type:  bug               |                  Status:  merge
        Priority:  normal            |               Milestone:  7.10.2
       Component:  Compiler          |                 Version:  7.11
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash                              |               Test Case:
      Blocked By:                    |  codeGen/should_compile/T9964
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by mietek):

 I wasn’t able to check this with the 7.10 release candidates yet, as the
 available bindists don’t support RHEL 6.  I haven’t tried to compile 7.10
 for RHEL 6 from source yet.

 When trying to bootstrap ''cabal-install'' 1.22.0.0 with 32-bit
 [https://downloads.haskell.org/~ghc/7.8.4/ghc-7.8.4-i386-unknown-linux-
 centos65.tar.xz GHC 7.8.4], there’s another failure:

 {{{
 ...
 Configuring Cabal-1.22.0.0...
 Building Cabal-1.22.0.0...
 Preprocessing library Cabal-1.22.0.0...
 [ 1 of 80] Compiling Paths_Cabal      ( dist/build/autogen/Paths_Cabal.hs,
 dist/build/Paths_Cabal.o )
 [ 2 of 80] Compiling Distribution.TestSuite ( Distribution/TestSuite.hs,
 dist/build/Distribution/TestSuite.o )
 [ 3 of 80] Compiling Distribution.Simple.PreProcess.Unlit (
 Distribution/Simple/PreProcess/Unlit.hs,
 dist/build/Distribution/Simple/PreProcess/Unlit.o )
 [ 4 of 80] Compiling Distribution.GetOpt ( Distribution/GetOpt.hs,
 dist/build/Distribution/GetOpt.o )
 [ 5 of 80] Compiling Distribution.PackageDescription.Utils (
 Distribution/PackageDescription/Utils.hs,
 dist/build/Distribution/PackageDescription/Utils.o )
 [ 6 of 80] Compiling Distribution.Simple.CCompiler (
 Distribution/Simple/CCompiler.hs,
 dist/build/Distribution/Simple/CCompiler.o )
 [ 7 of 80] Compiling Distribution.Compat.ReadP (
 Distribution/Compat/ReadP.hs, dist/build/Distribution/Compat/ReadP.o )
 [ 8 of 80] Compiling Distribution.Text ( Distribution/Text.hs,
 dist/build/Distribution/Text.o )
 [ 9 of 80] Compiling Distribution.Version ( Distribution/Version.hs,
 dist/build/Distribution/Version.o )
 [10 of 80] Compiling Language.Haskell.Extension (
 Language/Haskell/Extension.hs, dist/build/Language/Haskell/Extension.o )
 [11 of 80] Compiling Distribution.Compiler ( Distribution/Compiler.hs,
 dist/build/Distribution/Compiler.o )
 [12 of 80] Compiling Distribution.Simple.Compiler (
 Distribution/Simple/Compiler.hs, dist/build/Distribution/Simple/Compiler.o
 )
 [13 of 80] Compiling Distribution.Simple.GHC.ImplInfo (
 Distribution/Simple/GHC/ImplInfo.hs,
 dist/build/Distribution/Simple/GHC/ImplInfo.o )

 Distribution/Simple/GHC/ImplInfo.hs:17:1: Warning:
     The import of ‘CompilerId’
     from module ‘Distribution.Simple.Compiler’ is redundant
 [14 of 80] Compiling Distribution.License ( Distribution/License.hs,
 dist/build/Distribution/License.o )
 [15 of 80] Compiling Distribution.ModuleName ( Distribution/ModuleName.hs,
 dist/build/Distribution/ModuleName.o )
 [16 of 80] Compiling Distribution.Package ( Distribution/Package.hs,
 dist/build/Distribution/Package.o )
 [17 of 80] Compiling Distribution.System ( Distribution/System.hs,
 dist/build/Distribution/System.o )
 [18 of 80] Compiling Distribution.PackageDescription (
 Distribution/PackageDescription.hs,
 dist/build/Distribution/PackageDescription.o )
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.8.4 for i386-unknown-linux):
         (Array.!): undefined array element
 }}}

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


More information about the ghc-tickets mailing list