[GHC] #16257: -fexternal-interpreter with external C shared library leads to undefined symbol during template haskell phase
GHC
ghc-devs at haskell.org
Mon Feb 11 14:38:16 UTC 2019
#16257: -fexternal-interpreter with external C shared library leads to undefined
symbol during template haskell phase
-------------------------------------+-------------------------------------
Reporter: guibou | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.6.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by concert):
I think I am seeing the same issue via a slightly different route.
I've got a package that builds and binds some C and sets `extra-lib-dirs`
in its package.yaml.
In a module depending on it I get the "can't load .so/.DLL" error when
using template haskell (or in my case quasiquotes).
The library I depend on to trigger is here (you will need meson to build
it):
https://gitlab.com/concert/hs-rage
This may be packaged wrong, being my first stab at something like this.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16257#comment:11>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list