Re: [pcre-dev] PCRE2 10.33-RC1 available for testing

Pàgina inicial
Delete this message
Autor: Ervin Hegedüs
Data:  
A: pcre-dev
Assumpte: Re: [pcre-dev] PCRE2 10.33-RC1 available for testing
Hi Philip,

On Mon, Mar 04, 2019 at 06:16:17PM +0000, ph10@??? wrote:
> I've just put PCRE2 10.33-RC1 Release Candidate in the usual place:
>
> ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/pcre2-10.33-RC1.tar.gz
> ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/pcre2-10.33-RC1.tar.bz2
> ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/pcre2-10.33-RC1.zip
>
> Bugs are fixed, and there are a number of new features (see NEWS).
> Please test and report any issues. Thanks.


I've account for several arch and Unix type, now I checked it on
sparc64 Linux (Debian).

gcc version 8.3.0 (Debian 8.3.0-2)

pcre2-10.33-RC1 configuration summary:

    Install prefix ..................... : /usr/local
    C preprocessor ..................... : gcc -E
    C compiler ......................... : gcc
    Linker ............................. : /usr/bin/ld -m elf64_sparc
    C preprocessor flags ............... : 
    C compiler flags ................... : -O2 -fvisibility=hidden
    Linker flags ....................... : 
    Extra libraries .................... : 


    Build 8-bit pcre2 library .......... : yes
    Build 16-bit pcre2 library ......... : no
    Build 32-bit pcre2 library ......... : no
    Include debugging code ............. : no
    Enable JIT compiling support ....... : no
    Use SELinux allocator in JIT ....... : no
    Enable Unicode support ............. : yes
    Newline char/sequence .............. : lf
    \R matches only ANYCRLF ............ : no
    \C is disabled ..................... : no
    EBCDIC coding ...................... : no
    EBCDIC code for NL ................. : n/a
    Rebuild char tables ................ : no
    Internal link size ................. : 2
    Nested parentheses limit ........... : 250
    Heap limit ......................... : 20000000 kibibytes
    Match limit ........................ : 10000000
    Match depth limit .................. : MATCH_LIMIT
    Build shared libs .................. : yes
    Build static libs .................. : yes
    Use JIT in pcre2grep ............... : no
    Enable callouts in pcre2grep ....... : yes
    Enable fork in pcre2grep callouts .. : yes
    Initial buffer size for pcre2grep .. : 20480
    Maximum buffer size for pcre2grep .. : 1048576
    Link pcre2grep with libz ........... : no
    Link pcre2grep with libbz2 ......... : no
    Link pcre2test with libedit ........ : no
    Link pcre2test with libreadline .... : no
    Valgrind support ................... : no
    Code coverage ...................... : no
    Fuzzer support ..................... : no
    Use %zu and %td .................... : auto


PASS: RunTest
PASS: RunGrepTest
============================================================================
Testsuite summary for PCRE2 10.33-RC1
============================================================================
# TOTAL: 2
# PASS: 2
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================


but

pcre2-10.33-RC1 configuration summary:

    Install prefix ..................... : /usr/local
    C preprocessor ..................... : gcc -E
    C compiler ......................... : gcc
    Linker ............................. : /usr/bin/ld -m elf64_sparc
    C preprocessor flags ............... : 
    C compiler flags ................... : -pthread -O2 -fvisibility=hidden
    Linker flags ....................... : 
    Extra libraries .................... :  


    Build 8-bit pcre2 library .......... : yes
    Build 16-bit pcre2 library ......... : no
    Build 32-bit pcre2 library ......... : no
    Include debugging code ............. : no
    Enable JIT compiling support ....... : yes
    Use SELinux allocator in JIT ....... : no
    Enable Unicode support ............. : yes
    Newline char/sequence .............. : lf
    \R matches only ANYCRLF ............ : no
    \C is disabled ..................... : no
    EBCDIC coding ...................... : no
    EBCDIC code for NL ................. : n/a
    Rebuild char tables ................ : no
    Internal link size ................. : 2
    Nested parentheses limit ........... : 250
    Heap limit ......................... : 20000000 kibibytes
    Match limit ........................ : 10000000
    Match depth limit .................. : MATCH_LIMIT
    Build shared libs .................. : yes
    Build static libs .................. : yes
    Use JIT in pcre2grep ............... : yes
    Enable callouts in pcre2grep ....... : yes
    Enable fork in pcre2grep callouts .. : yes
    Initial buffer size for pcre2grep .. : 20480
    Maximum buffer size for pcre2grep .. : 1048576
    Link pcre2grep with libz ........... : no
    Link pcre2grep with libbz2 ......... : no
    Link pcre2test with libedit ........ : no
    Link pcre2test with libreadline .... : no
    Valgrind support ................... : no
    Code coverage ...................... : no
    Fuzzer support ..................... : no
    Use %zu and %td .................... : auto


(enabled JIT - ./configure --enable-jit)

after make, I got several warnings and notes, eg:

make[1]: Entering directory '/home/airween/src/pcre2-10.33-RC1'
  CC       src/libpcre2_8_la-pcre2_jit_compile.lo
In file included from src/sljit/sljitLir.c:268,
                 from src/pcre2_jit_compile.c:78:
src/sljit/sljitUtils.c: In function ‘sljit_stack_resize’:
src/sljit/sljitUtils.c:315:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   aligned_new_start = (sljit_uw)new_start & ~sljit_page_align;


and error:
In file included from src/sljit/sljitLir.h:81,
                 from src/sljit/sljitLir.c:27,
                 from src/pcre2_jit_compile.c:78:
src/pcre2_jit_compile.c: In function ‘do_callout’:
src/sljit/sljitConfigInternal.h:737:22: error: duplicate case value
  switch(0) { case 0: case ((x) ? 1 : 0): break; }
                      ^~~~


How could I help you, I mean, sent the build log to review
that...?


regards,


a.