Ian Lynagh
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