
#11042: Template Haskell / GHCi does not respect extra-lib-dirs -------------------------------------+------------------------------------- Reporter: mboes | Owner: (none) Type: bug | Status: infoneeded Priority: normal | Milestone: Component: Compiler | Version: 7.10.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Compile-time | Unknown/Multiple crash | Test Case: Blocked By: 11238 | Blocking: Related Tickets: #10458 #5289 | Differential Rev(s): #12753 | Wiki Page: | -------------------------------------+------------------------------------- Comment (by awson): I've concocted a fix for this based on a very simple idea. The idea is: don't crash early. `load_dyn` simply not crashes when `loadDLL` fails. Instead `load_dyn` issues a warning, stating that it can't load the dll and that some symbols may remain unresolved. If the latter is the case it crashes later eventually. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11042#comment:25 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler