On Sun, Oct 13, 2002 at 03:06:48AM -0700, Steve Fink wrote:
> On Fri, Oct 11, 2002 at 05:05:56PM -0700, Joe Wilson wrote:
> > Perhaps this is a known issue...
> > 
> > Most parrot programs seem to crash on x86 when the latest CVS parrot 
> > is compiled with "-O2" or "-g -O2" and when JIT is enabled.
> > The programs appear to run to completion and only crash prior to exitting.
> > Repeatable on both Cygwin and Linux x86.
> > When JIT is not used, everything is fine.
> 
> Ugh. That was a hairy one to track down. I have committed a fix. The
> cause of the above problem was that the JIT was trampling over some
> x86 registers that are supposed to be callee-saved in the cdecl
> calling convention. By the time I finally figured that out, though, I
> had fixed several other pretty major bugs in the jit.

I'm seeing this on x86 FreeBSD with the JIT:

t/op/interp.........NOK 2#     Failed test (t/op/interp.t at line 21)
Use of uninitialized value in concatenation (.) or string at lib/Test/Builder.pm
 line 999.
#                   'ok 1   
# ok 2
# ok 3
# ok 3
# '
#     doesn't match '/^ok\s1\n
# (?:PC=8.*)?\n
# ok\s2\n
# (?:PC=11.*)?\n
# (?:PC=13.*)?\n
# ok\s3\n$/x
# '
# Looks like you failed 1 tests of 2.
t/op/interp.........dubious 
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 2
        Failed 1/2 tests, 50.00% okay

is this to be expected? It's now the only regression test that fails under
the JIT. Previously I think several were, but I can't remember for sure.

Nicholas Clark
-- 
Even better than the real thing:        http://nms-cgi.sourceforge.net/

Reply via email to