
#14269: ghc: internal error: PAP object entered! -------------------------------------+------------------------------------- Reporter: erisco | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by RyanGlScott): I attempted to build `inline-c-0.6.0.5` with GHC 8.0.2 using `--allow- older`, but was thwarted: {{{ $ cabal install -w /opt/ghc/8.0.2/bin/ghc inline-c --allow-older Resolving dependencies... Configuring inline-c-0.6.0.5... Building inline-c-0.6.0.5... Failed to install inline-c-0.6.0.5 Build log ( /u/rgscott/.cabal/logs/ghc-8.0.2/inline-c-0.6.0.5-6LPf8sxaoRe7ivvVOklwzp.log ): cabal: Entering directory '/tmp/cabal-tmp-15800/inline-c-0.6.0.5' Configuring inline-c-0.6.0.5... Preprocessing library for inline-c-0.6.0.5.. Building library for inline-c-0.6.0.5.. [1 of 9] Compiling Language.C.Types.Parse ( src/Language/C/Types/Parse.hs, dist/build/Language/C/Types/Parse.o ) [2 of 9] Compiling Language.C.Types ( src/Language/C/Types.hs, dist/build/Language/C/Types.o ) [3 of 9] Compiling Language.C.Inline.HaskellIdentifier ( src/Language/C/Inline/HaskellIdentifier.hs, dist/build/Language/C/Inline/HaskellIdentifier.o ) [4 of 9] Compiling Language.C.Inline.FunPtr ( src/Language/C/Inline/FunPtr.hs, dist/build/Language/C/Inline/FunPtr.o ) [5 of 9] Compiling Language.C.Inline.Context ( src/Language/C/Inline/Context.hs, dist/build/Language/C/Inline/Context.o ) src/Language/C/Inline/Context.hs:149:32: error: Not in scope: type constructor or class ‘TH.ForeignSrcLang’ Neither ‘Language.Haskell.TH’ nor ‘Language.Haskell.TH.Syntax’ exports ‘ForeignSrcLang’. cabal: Leaving directory '/tmp/cabal-tmp-15800/inline-c-0.6.0.5' cabal: Error: some packages failed to install: inline-c-0.6.0.5-6LPf8sxaoRe7ivvVOklwzp failed during the building phase. The exception was: ExitFailure 1 }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14269#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler