<div dir="ltr">TL;DR, you cant use llvm 3.5 or 3.6 with any current ghc release. use 3.4 or older</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 4, 2014 at 10:56 PM, Jens Petersen <span dir="ltr"><<a href="mailto:juhpetersen@gmail.com" target="_blank">juhpetersen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Jarl,<br><div class="gmail_extra"><br></div><div class="gmail_extra">I think I just ran into this too for Fedora 22 rawhide on ARM and found your posts...</div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On 30 October 2014 16:11, Jarl Gunnar Flaten <span dir="ltr"><<a href="mailto:jarl.flaten@gmail.com" target="_blank">jarl.flaten@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px">(cf. <a href="http://www.reddit.com/r/haskell/comments/2kpsz5/ghc_problem_new_llvm_schedule_reentered_unsafely/" target="_blank">reddit thread</a>)<br></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I am trying to compile a simple "hello world" program (test.hs). When compiling I am notified:</div><div style="font-size:13px"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><font face="courier new, monospace">> [1 of 1] Compiling Main             ( test.hs, test.o )
> You are using a new version of LLVM that hasn't been tested yet!</font><span style="font-family:arial;font-size:small;color:rgb(34,34,34)"> </span></pre></div></div></blockquote></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:13px"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><pre style="white-space:pre-wrap"><font face="courier new, monospace">> test: schedule: re-entered unsafely.
>    Perhaps a 'foreign import unsafe' should be 'safe'?</font></pre><span class=""><pre style="white-space:pre-wrap"><font face="arial, helvetica, sans-serif">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.</font></pre><pre style="font-family:arial,sans-serif;white-space:pre-wrap"></pre></span></pre></div></div></blockquote><div>They are related in the sense that llvm-3.5 seems to this problem and it is not officially supported by ghc-7.6 or ghc-7.8 (hence the warning).</div><div>ghc-7.8 supports 3.4 and 7.6 seems to mostly work with some patches.</div><div><br></div><div>Can you provide more details on your environment: OS and ghc version etc?</div><div><br></div><div>I am not sure yet what is causing this: perhaps you could try compiling with "-threaded" and see if that helps?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Jens</div></font></span></div></div></div>
<br>_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/ghc-devs" target="_blank">http://www.haskell.org/mailman/listinfo/ghc-devs</a><br>
<br></blockquote></div><br></div>