problem running on arm

Luka Rahne luka.rahne at
Sat Aug 15 18:45:38 UTC 2015

It turns out that issue is due to some locale settings and having
impropper/not having locale setting just freeze runtime. Temporary
solution is using ascii marshaling functions

myPrintStrLn  str  = withCAString str c_myprint

Basic stuff now works. I will have to figure out how to fix this
locale issue. Binding for library will be ready soon.

On 14 August 2015 at 19:20, Luka Rahne <luka.rahne at> wrote:
> Hello everyone I am new here and I have build crosscompiler for
> RedPitaya (, but now i am unable to run hello
> world. (main = putStrLn "hello world")
> Running with +RTS -Gg -RTS prints out bunch of data.
> What I think is going on is that GC consumes all memory.
> Here is one output on device. (using larger heap just takes more time
> and produces longer output)
> In qemu everything is working fine.
> here is ghc verbose output for compilation
> If somebody has some pointers to share i would be very happy.
> best regards, Luka Rahne

More information about the ghc-devs mailing list