On Thu, Feb 26, 2015 at 12:39:13PM +0100, Zoltán Herczeg wrote:
> >The AArch64 is worse. It compiles with JIT but crashes on tests:
> >
> >FAIL: RunTest
> >=============
> >PCRE2 C library tests using test data from ./testdata
> >PCRE2 version 10.10-RC1 2015-02-20
> >---- Testing 8-bit library ----
> >Test 0: Unchecked pcre2test argument tests (to improve coverage)
> > OK
> >Test 1: Main non-UTF, non-UCP functionality (compatible with Perl >= 5.10)
> > OK
> > OK with JIT
> >Test 2: API, errors, internals, and non-Perl stuff (excluding UTF-8)
> > OK
> >./RunTest: line 446: 18631 Bus error (core dumped) $sim $valgrind ./pcre2test -q $test2stack $bmode $opt $testdata/testinput2 testtry
> >
[...]
I'm playing with 8.37-RC1 now.
>
> It is interesting that test1 runs correctly, and test2 fails. Perhaps
> a stack related issue?
No. It crashes even with unlimited stack size.
> Could you run pcre2_jit_test as well?
It passes.
> RunTest accepts test numbers between
> 1 and 18, e.g: "RunTest 1 7 9 17". Could you check which tests are fail
> besides test2?
>
There 26 tests, all pass except 2 (API, errors, internals, and non-Perl stuff
(not UTF-8)) and 5 (API, internals, and non-Perl stuff for UTF-8 support).
-- Petr