Interface loading and dynamic linking

Ben Gamari bgamari.foss at
Sun Dec 22 23:56:11 UTC 2013

Ian Lynagh <igloo at> writes:

> On Sun, Dec 22, 2013 at 12:34:25PM -0500, Ben Gamari wrote:
> Dynamic-by-default was a previous experiment to get GHCi to use the
> system linker. We now use dynamic-too instead.
Causing GHCi to use the system linker is indeed my intent. Given the
currently rather broken state of the ARM runtime linker it seems like
the easiest way to get ARM supported as somewhat-first-class citizen is
to use the system linker. `DYNAMIC_BY_DEFAULT` provides an easy way to
accomplish this.

I've now reproduced the error on both my x86_64 laptop and my ARM
box. It seems that the only effect of `DYNAMIC_BY_DEFAULT` is to set the
default ways. Even with `-dynamic` or `-dynamic-too` set explicitly the
error persists so I don't believe that the option itself is the issue.


- Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <>

More information about the ghc-devs mailing list