
#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): And finally, 32-bit [https://downloads.haskell.org/~ghc/7.8.2/ghc-7.8.2-i386-unknown-linux- centos65.tar.xz GHC 7.8.2] ''also'' segfaults: {{{ ... 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 ) ./bootstrap.sh: line 288: 6161 Segmentation fault (core dumped) ./Setup build ${EXTRA_BUILD_OPTS} ${VERBOSE} }}} To summarise, on 32-bit RHEL 6 — 1. Bootstrapping ''cabal-install'' 1.20.0.3 '''fails''' with GHC 7.8.4 and 7.8.3, '''but''' succeeds with GHC 7.8.2. 2. Bootstrapping ''cabal-install'' 1.22.0.0 '''fails''' with GHC 7.8.4, 7.8.3, '''and''' 7.8.2. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9964#comment:14 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler