
#10301: Plugins/dynamic loading subtly broken (it seems) -------------------------------------+------------------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.2 Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Compile-time | Unknown/Multiple crash | Test Case: Blocked By: | Blocking: Related Tickets: #8276 | Differential Revisions: -------------------------------------+------------------------------------- Comment (by darchon): Replying to [comment:3 ezyang]:
I'd be much appreciative if you could try these examples with a recent GHC HEAD that includes `ad6d6a76eeeb9e33a96054f18c1306e9ebafa652`.
I have also noticed that calling the static flags initializing functions sometimes doesn't fix this sort of issue, especially in GHCi-style situations.
I tried, but I'm still getting the same error. In the end, I had to add this workaround in my own code: https://github.com/christiaanb/ghc-typelits- natnormalise/commit/afc4f2538081b46439e26e1a2bc6b7a5c3751781 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10301#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler