Re: Weird behavior of the NonTermination exception

2012-05-04 Thread Bas van Dijk
On 4 May 2012 14:12, Simon Marlow wrote: > The forked thread is deadlocked, so the MVar is considered unreachable and > the main thread is also unreachable.  Hence both threads get sent the > exception. > > The RTS does this analysis using the GC, tracing the reachable objects > starting from the

Re: Weird behavior of the NonTermination exception

2012-05-04 Thread Simon Marlow
On 03/05/2012 17:14, Bas van Dijk wrote: On 3 May 2012 17:31, Edward Z. Yang wrote: Excerpts from Bas van Dijk's message of Thu May 03 11:10:38 -0400 2012: As can be seen, the putMVar is executed successfully. So why do I get the message: "thread blocked indefinitely in an MVar operation"? G

Re: trouble building ghc-7.4 on Fedora 18 (devel) ARM

2012-05-04 Thread Jens Petersen
A late followup, just to let you know, everything is good now. > Not sure if +d16 is actually essential on Fedora though guess it doesn't hurt. It is... I hope llvm will make it the default for armv7 hardware fp. So finally ghc-7.4.1 is built for Fedora ARM and working: I also had to forward-por