[GHC] #15328: cpphs: internal error: evacuate(static): strange closure type 8440
GHC
ghc-devs at haskell.org
Tue Jul 3 08:14:37 UTC 2018
#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
More information about the ghc-tickets
mailing list