Re: [pcre-dev] PCRE2 10.30-RC1 test release

Startseite
Nachricht löschen
Autor: Petr Pisar
Datum:  
To: pcre-dev
Betreff: Re: [pcre-dev] PCRE2 10.30-RC1 test release
On Wed, Jul 19, 2017 at 05:12:39PM +0100, ph10@??? wrote:
> I have just put the tarballs for the 10.30-RC1 test release in the usual
> place:
>

After adding the SELinux JIT allocator sources, I confirm that all tests pass
for me on GNU/Linux with JIT enabled where available on these platforms:

aarch64
armv7hl
i686
ppc32
ppc64be
ppc64le
s390
s390x
x86_64

I spotted this compiler warning on i686 and armv7hl:

src/pcre2test.c: In function 'process_pattern':
src/pcre2test.c:5469:63: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka unsigned int}' [-Wformat=]
     fprintf(outfile, "** Pattern conversion error at offset %lu: ",
                                                             ~~^


and this warning (three times for each UTF varianr) on ppc32:

In file included from src/sljit/sljitLir.c:1746:0,
                 from src/pcre2_jit_compile.c:78:
src/sljit/sljitNativePPC_common.c: In function 'sljit_emit_op_flags.constprop.60':
src/sljit/sljitNativePPC_common.c:2371:61: warning: 'cr_bit' may be used uninitialized in this function [-Wmaybe-uninitialized]
  FAIL_IF(push_inst(compiler, RLWINM | S(reg) | A(reg) | ((1 + (cr_bit)) << 11) | (31 << 6) | (31 << 1)));
                                                             ^
-- Petr