Interface loading and dynamic linking

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


Ian Lynagh <igloo at earth.li> writes:

> On Sun, Dec 22, 2013 at 12:34:25PM -0500, Ben Gamari wrote:
>> 
>>     DYNAMIC_BY_DEFAULT = YES
>
> 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.

Cheers,

- Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20131222/7e93b0eb/attachment.sig>


More information about the ghc-devs mailing list