[GHC] #15105: `typecheckModule` from GHC API crashes on MacOS for files with TH
GHC
ghc-devs at haskell.org
Wed May 23 01:41:28 UTC 2018
#15105: `typecheckModule` from GHC API crashes on MacOS for files with TH
----------------------------------+----------------------------------------
Reporter: harpocrates | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone: 8.6.1
Component: GHC API | Version: 8.4.2
Resolution: | Keywords:
Operating System: MacOS X | Architecture: Unknown/Multiple
Type of failure: Runtime crash | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
----------------------------------+----------------------------------------
Comment (by bgamari):
On https://github.com/haskell/haddock/issues/767 harpocrates said,
> Alright, I think I'm close to nailing this. I think there is something
suspicious about the `HSinteger-gmp-1.0.2.0.o` file from GHC's `integer-
gmp` lib folder. I think all that we need to do to fix this issue is
remove this file. When I do that, everything starts working again.
>
> Note that the symbols provided by this object file are already in the
static library of the same name. Furthermore, when I manually install GHC
(after building from source), this troublesome file is not present.
>
> I'm obviously still investigating, but I figured I'd ask if anyone knows
any reason `HSinteger-gmp-1.0.2.0.o` should not be deleted...
This object is a monolithic relocatable object used by statically-linked
GHCi. Are you seeing it being loaded?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15105#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list