[GHC] #12147: GHC's Linker Should Support Relocation Type 42
GHC
ghc-devs at haskell.org
Sat Jun 11 22:50:10 UTC 2016
#12147: GHC's Linker Should Support Relocation Type 42
-------------------------------------+-------------------------------------
Reporter: gershomb | Owner:
Type: bug | Status: merge
Priority: high | Milestone: 8.0.2
Component: Runtime System | Version: 8.0.1
(Linker) |
Resolution: | Keywords:
Operating System: Linux | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D2303
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by thomie):
Yes, what rwbarton says. I can reproduce the problem with a statically
linked `ihaskell`, but `--enable-executable-dynamic` solves it:
{{{
$ cabal install -w ghc-7.10.3 ihaskell --enable-executable-dynamic
$ jupyter console --kernel haskell
Jupyter Console 4.1.1
In [1]:
}}}
You need to build all dependencies with `--enabled-shared` as well (set
`shared: True` in `.cabal/config`).
Other things I had to install:
{{{
$ sudo apt-get install libzmq3-dev
$ pip install jupyter
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12147#comment:17>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list