#950: Timing stats in GHCi don't work
----------------------+-----------------------------------------------------
Reporter: simonpj | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 6.6
Severity: normal | Resolution: fixed
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
----------------------+-----------------------------------------------------
Changes (by igloo):
* resolution: => fixed
* status: new => closed
Comment:
This turned out to be caused by an old Linux threads bug; from
pthreads(7):
{{{
Some NPTL non-conformances only occur with older kernels:
- The information returned by times(2) and getrusage(2) is per-
thread
rather than process-wide (fixed in kernel 2.6.9).
}}}
The solution is to use a newer kernel, or to compile ghc(i) without
-threaded.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/950>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs