Hiya, When I use -threaded and -N2 in jhc, atoms fail in spectacular ways. So far I've seen:
internal error: fullCheck': Instance@.iJhc.Monad.return.Jhc.Prim.IO x6598 Strong': ? x6598 Cannot strong: (?, [x6598])
and: stringlib: error alocating memory Are atoms in some way not thread-safe enough? -- Cheers, Lemmih
On Fri, Feb 22, 2008 at 10:33:07PM +0100, Lemmih wrote:
When I use -threaded and -N2 in jhc, atoms fail in spectacular ways. So far I've seen:
internal error: fullCheck': Instance@.iJhc.Monad.return.Jhc.Prim.IO x6598 Strong': ? x6598 Cannot strong: (?, [x6598])
This is the RULES thing I was telling you about earlier. you need to compile -fno-rules for now or unpull my recent patches. (expect things to be slow without rules)
and: stringlib: error alocating memory
Are atoms in some way not thread-safe enough?
and you need to #define USE_THREADS to 1 in StringTable/StringTable_cbits.c John -- John Meacham - ⑆repetae.net⑆john⑈
On Fri, Feb 22, 2008 at 10:45 PM, John Meacham
On Fri, Feb 22, 2008 at 10:33:07PM +0100, Lemmih wrote:
When I use -threaded and -N2 in jhc, atoms fail in spectacular ways. So far I've seen:
internal error: fullCheck': Instance@.iJhc.Monad.return.Jhc.Prim.IO x6598 Strong': ? x6598 Cannot strong: (?, [x6598])
This is the RULES thing I was telling you about earlier. you need to compile -fno-rules for now or unpull my recent patches. (expect things to be slow without rules)
Most of what you were telling me went over my head, I'm afraid. (:
and: stringlib: error alocating memory
Are atoms in some way not thread-safe enough?
and you need to #define USE_THREADS to 1 in StringTable/StringTable_cbits.c
Ah, good. -- Cheers, Lemmih
On Fri, Feb 22, 2008 at 11:47:39PM +0100, Lemmih wrote:
Out of interest, how far away is Jhc from compiling itself?
Pretty far, but it gets closer with each patch. :) there are a couple extensions that need to be implemented before it can try. pattern guards and MPTCs in particular. But I sort of put a self-imposed restriction on myself that I won't start adding new language extensions until all of 'nobench' compiles cleanly. -- John Meacham - ⑆repetae.net⑆john⑈
On Fri, Feb 22, 2008 at 5:59 PM, John Meacham
On Fri, Feb 22, 2008 at 11:47:39PM +0100, Lemmih wrote:
Out of interest, how far away is Jhc from compiling itself?
Pretty far, but it gets closer with each patch. :)
there are a couple extensions that need to be implemented before it can try. pattern guards and MPTCs in particular. But I sort of put a self-imposed restriction on myself that I won't start adding new language extensions until all of 'nobench' compiles cleanly.
That will probably help it to happen faster anyway.
participants (3)
-
John Meacham -
Lemmih -
Samuel Bronson