Hi Ervin, sparc64 has not supported yet, and I have no plans to do it in the foreseeable future. However, if somebody is interested to do it, just submit a patch to the JIT compiler:
https://github.com/zherczeg/sljit I will migrate the code to pcre/pcre2 after it is landed. If somebody knows a define, which is present in sparc64, I can add a #error to notify people. Regards, Zoltan -------- Eredeti levél -------- Feladó: Ervin Hegedüs via Pcre-dev < [email protected] (Link -> mailto:[email protected]) > Dátum: 2019 március 5 10:27:32 Tárgy: Re: [pcre-dev] PCRE2 10.33-RC1 available for testing Címzett: [email protected] (Link -> mailto:[email protected]) Hi Philip, On Mon, Mar 04, 2019 at 06:16:17PM +0000, [email protected] 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. -- ## List details at https://lists.exim.org/mailman/listinfo/pcre-dev -- ## List details at https://lists.exim.org/mailman/listinfo/pcre-dev
