
#12983: Loading temp shared object failed: TemplateHaskell and recompilation -------------------------------------+------------------------------------- Reporter: StefanWehr | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: template | haskell, recompilation Operating System: Unknown/Multiple | Architecture: Type of failure: Compile-time | Unknown/Multiple crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by lippling): I seem to have a similar bug (with 8.0.2) in a Yesod app (the app compiles fine with 7.10.3): {{{#!hs [61 of 61] Compiling Application ( Application.hs, .stack- work/dist/x86_64-osx/Cabal-1.24.2.0/build/Application.o ) ghc: panic! (the 'impossible' happened) (GHC version 8.0.2 for x86_64-apple-darwin): Loading temp shared object failed: dlopen(/var/folders/1q/4xcpgs9n52sf2j5wbhxlt3r40000gn/T/ghc1009_0/libghc_264.dylib, 5): Symbol not found: _opaleyezm0zi5zi2zi2zm8brufdPJKpl4nCQHKm9Oif_OpaleyeziInternalziRunQuery_zdfQueryRunnerColumnDefaultPGRangePGRange_closure Referenced from: /var/folders/1q/4xcpgs9n52sf2j5wbhxlt3r40000gn/T/ghc1009_0/libghc_264.dylib Expected in: flat namespace in /var/folders/1q/4xcpgs9n52sf2j5wbhxlt3r40000gn/T/ghc1009_0/libghc_264.dylib Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12983#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler