[GHC] #15328: cpphs: internal error: evacuate(static): strange closure type 8440

#15328: cpphs: internal error: evacuate(static): strange closure type 8440 -------------------------------------+------------------------------------- Reporter: cnmne | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Package | Version: 8.4.3 system | Keywords: cabal, cpphs, | Operating System: MacOS X strange closure | Type of failure: Building GHC Architecture: x86 | failed Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Attempting to install Agda via Cabal fails. I've installed cpphs through Cabal and {{{~/Library/Haskell/bin}}} is in my path. {{{~/.cabal/config}}} is default, but in {{{/Library/Frameworks/GHC.framework/Versions/8.4.3-x86_64/usr/lib/ghc-8.4.3 /settings}}} I have changed only {{{("C compiler supports -no- pie","NO")}}} (from "YES") because that was giving me errors earlier. The log states: "Please report this as a GHC bug..." so here I am :] -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15328 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15328: cpphs: internal error: evacuate(static): strange closure type 8440 -------------------------------------+------------------------------------- Reporter: cnmne | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Package system | Version: 8.4.3 Resolution: | Keywords: cabal, cpphs, | strange closure Operating System: MacOS X | Architecture: x86 Type of failure: Building GHC | Test Case: failed | Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by cnmne): * Attachment "Agda-2.5.4-8dEVcms4EEl7BLLd7N0hcZ.log" added. Cabal failure to build Agda log file -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15328 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15328: cpphs: internal error: evacuate(static): strange closure type 8440 -------------------------------------+------------------------------------- Reporter: cnmne | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Package system | Version: 8.4.3 Resolution: | Keywords: cabal, cpphs, | strange closure Operating System: MacOS X | Architecture: x86 Type of failure: Building GHC | Test Case: failed | Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by cnmne): * Attachment "Agda-2.5.4-8dEVcms4EEl7BLLd7N0hcZ(2).log" added. progress? second log file with only error being alex exit (-11) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15328 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15328: cpphs: internal error: evacuate(static): strange closure type 8440 -------------------------------------+------------------------------------- Reporter: cnmne | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Package system | Version: 8.4.3 Resolution: | Keywords: cabal, cpphs, | strange closure Operating System: MacOS X | Architecture: x86 Type of failure: Building GHC | Test Case: failed | Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by cnmne): I had installed Haskell Core from the official site, assuming that the prerequisites (ghc, cabal-install, Alex, Happy, cpphs) would be accessible. However after manually installing cabal-install, alex, happy, and cpphs I now have a different error: {{{/Users/seth/Library/Haskell/bin/alex returned ExitFailure (-11)}}} attached is the second log file. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15328#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15328: cpphs: internal error: evacuate(static): strange closure type 8440 -------------------------------------+------------------------------------- Reporter: cnmne | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Package system | Version: 8.4.3 Resolution: | Keywords: cabal, cpphs, | strange closure Operating System: MacOS X | Architecture: x86 Type of failure: Building GHC | Test Case: failed | Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): Hmm, this is quite concerning indeed. Which `cpphs` version are you using? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15328#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15328: cpphs: internal error: evacuate(static): strange closure type 8440 -------------------------------------+------------------------------------- Reporter: cnmne | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Package system | Version: 8.4.3 Resolution: | Keywords: cabal, cpphs, | strange closure Operating System: MacOS X | Architecture: x86 Type of failure: Building GHC | Test Case: failed | Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by osa1): cnmne, if you want to help with debugging this doing the follwoing would be really helpful: - Clone a fresh GHC and cd into the directory - `cp mk/build.mk.sample mk/build.mk` - Edit `mk/build.mk`, add `GhcDebugged = YES` somewhere in that file - Build with `./boot && ./configure && make` - Edit `inplace/bin/ghc-stage2` to add `+RTS -DS -RTS` at the end of the last line (the line starting with `exec ...`) ghc-stage2 is now a debug build with sanity checks enabled. Now install everything again (whatever you need to install to reproduce this) but pass `--with-ghc=path-to-ghc-stage2` to cabal in each command. Hopefully you'll get a better error message. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15328#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15328: cpphs: internal error: evacuate(static): strange closure type 8440 -------------------------------------+------------------------------------- Reporter: cnmne | Owner: (none) Type: bug | Status: infoneeded Priority: normal | Milestone: 8.8.1 Component: Package system | Version: 8.4.3 Resolution: | Keywords: cabal, cpphs, | strange closure Operating System: MacOS X | Architecture: x86 Type of failure: Building GHC | Test Case: failed | Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => infoneeded -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15328#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC