[pcre-dev] [Bug 2667] New: Build failure with jit on mips{32…

Inizio della pagina
Delete this message
Autore: admin
Data:  
To: pcre-dev
Nuovi argomenti: [pcre-dev] [Bug 2667] Build failure with jit on mips{32,64}r6, [pcre-dev] [Bug 2667] Build failure with jit on mips{32,64}r6, [pcre-dev] [Bug 2667] Build failure with jit on mips{32,64}r6, [pcre-dev] [Bug 2667] Build failure with jit on mips{32,64}r6, [pcre-dev] [Bug 2667] Build failure with jit on mips{32,64}r6
Oggetto: [pcre-dev] [Bug 2667] New: Build failure with jit on mips{32, 64}r6
https://bugs.exim.org/show_bug.cgi?id=2667

            Bug ID: 2667
           Summary: Build failure with jit on mips{32,64}r6
           Product: PCRE
           Version: 10.35 (PCRE2)
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: Philip.Hazel@???
          Reporter: fontaine.fabrice@???
                CC: pcre-dev@???


pcre2 fails to build with jit on mips{32,64}r6 on:

In file included from src/sljit/sljitLir.c:2111,
                 from src/pcre2_jit_compile.c:79:
src/sljit/sljitNativeMIPS_common.c: In function 'sljit_emit_cmov':
src/sljit/sljitNativeMIPS_common.c:2211:9: error: 'MOVZ' undeclared (first use
in this function); did you mean 'MODU'?
   ins = MOVZ | TA(EQUAL_FLAG);
         ^~~~
         MODU
src/sljit/sljitNativeMIPS_common.c:2211:9: note: each undeclared identifier is
reported only once for each function it appears in
src/sljit/sljitNativeMIPS_common.c:2214:9: error: 'MOVN' undeclared (first use
in this function); did you mean 'MODU'?
   ins = MOVN | TA(EQUAL_FLAG);
         ^~~~
         MODU
src/sljit/sljitNativeMIPS_common.c:2236:9: error: 'MOVT' undeclared (first use
in this function); did you mean 'MODU'?
   ins = MOVT;
         ^~~~
         MODU
src/sljit/sljitNativeMIPS_common.c:2242:9: error: 'MOVF' undeclared (first use
in this function); did you mean 'EOF'?
   ins = MOVF;
         ^~~~
         EOF


The issue is related to https://vcs.pcre.org/pcre2?view=revision&revision=1215.

Indeed, since this commit, MOV{F,N,T,Z} are not defined if SLJIT_MIPS_REV >= 6
however they are unconditionally used in sljit_emit_cmov if SLJIT_MIPS_REV >=
1. Prior to this commit (i.e. in version 10.34), SLJIT_MIPS_R1 was never
defined so this piece of code was not compiled.

Full build log can be found here:
-
http://autobuild.buildroot.org/results/969/969f1024afcbe3fdc8050eeb7efa0dc764ad0463/build-end.log
-
http://autobuild.buildroot.org/results/544/544d76162e262490fcee4f9544320cdda471adf7/build-end.log

--
You are receiving this mail because:
You are on the CC list for the bug.