Problems compiling with llvm-3.5.0-2 on ARM

Jarl Gunnar Flaten jarl.flaten at gmail.com
Thu Oct 30 07:11:58 UTC 2014


Hello,

(cf. reddit thread
<http://www.reddit.com/r/haskell/comments/2kpsz5/ghc_problem_new_llvm_schedule_reentered_unsafely/>
)

I am trying to compile a simple "hello world" program (test.hs). When
compiling I am notified:

> [1 of 1] Compiling Main             ( test.hs, test.o )
> You are using a new version of LLVM that hasn't been tested yet!
> We will try though...
> Linking test ...

But it seems to finish compiling fine, without further errors.
However, running the program (./test):

> test: schedule: re-entered unsafely.
>    Perhaps a 'foreign import unsafe' should be 'safe'?

Isn't working. I'm not familiar enough with neither LLVM nor Haskell
to troubleshoot from either of these; I don't even know if the
messages are even related.

Any ideas for solutions? Any commands or tests I can perform to give
you more information?


Thanks,

Jarl Gunnar T. Flaten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20141030/e40062af/attachment.html>


More information about the ghc-devs mailing list