#2013: ghci crash on startup: R_X86_64_32S relocation out of range.
---------------------+------------------------------------------------------
Reporter: mboes | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.8.3
Component: GHCi | Version: 6.9
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: x86_64 (amd64)
Os: FreeBSD |
---------------------+------------------------------------------------------
Comment (by simonmar):
Replying to [comment:6 wb.kloke]:
> Is it feasible to link packages like base statically to ghci to get ghci
working for simple programs not loading modules?
>
> Or else, as base is already wired-in, is the loading of base necessary
at all?
With static linking, the short answer is no (we have investigated various
strategies and not found a way to do this reliably). The right way is to
use dynamic linking, where the base package is a shared library, and can
be used by both GHCi itself and the running program. Dynamic linking is
mostly working, we're just fixing issues with installation and
distributions.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2013#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs