[GHC] #16257: -fexternal-interpreter with external C shared library leads to undefined symbol during template haskell phase
GHC
ghc-devs at haskell.org
Wed Jan 30 22:55:08 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 guibou):
This `Dockerfile` shows that indeed the problem does not appear on a
"normal" system:
{{{
FROM ubuntu:latest
RUN apt-get update
RUN apt-get install -y wget
RUN wget -qO- https://get.haskellstack.org/ | sh
RUN stack setup
RUN apt-get install -y libgsl23
RUN apt-get install -y libblas-dev liblapack-dev
RUN apt-get install -y pkg-config
RUN stack install vector
RUN apt-get install -y libgsl-dev
RUN stack install hmatrix-gsl
COPY Foo.hs /root/Foo.hs
RUN stack ghc -- -package hmatrix-gsl -fexternal-interpreter /root/Foo.hs
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16257#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list