[Bug 1270862] [NEW] libpcre3 1:8.31-2ubuntu2 : not ready for --enable-jit option

Tony Reix tony.reix at bull.net
Mon Jan 20 15:42:36 UTC 2014


Public bug reported:

Version 8.31 of libpcre3 (pcre3 sources) is not ready for --enable-jit
option on Linux/PPC64 LE. It even does not compile.

Version 8.34 of libpcre3 does include code for Linux on PPC64-LE. However, this code still fails for JIT. It is being fixed now.
Staty tune with:  http://bugs.exim.org/show_bug.cgi?id=1430 .

The current version 8.31 of libpcre3 on Ybuntu PPC64/LE should be
replaced by the version (8.35 ?) that fixes the JIT issues on PPC64/LE
(it is OK on PPC64/BE).


/home/tony/PCRE/pcre3-8.31:

In file included from sljit/sljitNativePPC_common.c:417:0,
                 from sljit/sljitLir.c:1251,
                 from pcre_jit_compile.c:62:
sljit/sljitNativePPC_64.c: In function 'sljit_set_function_context':
sljit/sljitNativePPC_64.c:425:9: error: dereferencing pointer to incomplete type
  context->addr = addr ? addr : ptrs[0];
         ^
sljit/sljitNativePPC_64.c:426:9: error: dereferencing pointer to incomplete type
  context->r2 = ptrs[1];
         ^
sljit/sljitNativePPC_64.c:427:9: error: dereferencing pointer to incomplete type
  context->r11 = ptrs[2];


pcre-8.34:

make  check-TESTS
make[2]: Entering directory `/home/tony/PCRE/pcre-8.XX/trunk'
make[3]: Entering directory `/home/tony/PCRE/pcre-8.XX/trunk'
./test-driver: line 107: 32524 Illegal instruction     (core dumped) "$@" > $log_file 2>&1
FAIL: pcre_jit_test


$ lsb_release -rd
Description:	Ubuntu Trusty Tahr (development branch)
Release:	14.04


$ lsb_release -rd
Description:	Ubuntu Trusty Tahr (development branch)
Release:	14.04
tony at tony1:~/PCRE/pcre3-8.31$ apt-cache policy libpcre3
libpcre3:
  Installed: 1:8.31-2ubuntu2
  Candidate: 1:8.31-2ubuntu2
  Version table:
 *** 1:8.31-2ubuntu2 0
        500 http://ports.ubuntu.com/ubuntu-ports/ trusty/main ppc64el Packages
        100 /var/lib/dpkg/status

** Affects: pcre3 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pcre3 in Ubuntu.
https://bugs.launchpad.net/bugs/1270862

Title:
  libpcre3 1:8.31-2ubuntu2 : not ready for  --enable-jit option

Status in “pcre3” package in Ubuntu:
  New

Bug description:
  Version 8.31 of libpcre3 (pcre3 sources) is not ready for --enable-jit
  option on Linux/PPC64 LE. It even does not compile.

  Version 8.34 of libpcre3 does include code for Linux on PPC64-LE. However, this code still fails for JIT. It is being fixed now.
  Staty tune with:  http://bugs.exim.org/show_bug.cgi?id=1430 .

  The current version 8.31 of libpcre3 on Ybuntu PPC64/LE should be
  replaced by the version (8.35 ?) that fixes the JIT issues on PPC64/LE
  (it is OK on PPC64/BE).

  
  /home/tony/PCRE/pcre3-8.31:

  In file included from sljit/sljitNativePPC_common.c:417:0,
                   from sljit/sljitLir.c:1251,
                   from pcre_jit_compile.c:62:
  sljit/sljitNativePPC_64.c: In function 'sljit_set_function_context':
  sljit/sljitNativePPC_64.c:425:9: error: dereferencing pointer to incomplete type
    context->addr = addr ? addr : ptrs[0];
           ^
  sljit/sljitNativePPC_64.c:426:9: error: dereferencing pointer to incomplete type
    context->r2 = ptrs[1];
           ^
  sljit/sljitNativePPC_64.c:427:9: error: dereferencing pointer to incomplete type
    context->r11 = ptrs[2];

  
  pcre-8.34:

  make  check-TESTS
  make[2]: Entering directory `/home/tony/PCRE/pcre-8.XX/trunk'
  make[3]: Entering directory `/home/tony/PCRE/pcre-8.XX/trunk'
  ./test-driver: line 107: 32524 Illegal instruction     (core dumped) "$@" > $log_file 2>&1
  FAIL: pcre_jit_test


  $ lsb_release -rd
  Description:	Ubuntu Trusty Tahr (development branch)
  Release:	14.04

  
  $ lsb_release -rd
  Description:	Ubuntu Trusty Tahr (development branch)
  Release:	14.04
  tony at tony1:~/PCRE/pcre3-8.31$ apt-cache policy libpcre3
  libpcre3:
    Installed: 1:8.31-2ubuntu2
    Candidate: 1:8.31-2ubuntu2
    Version table:
   *** 1:8.31-2ubuntu2 0
          500 http://ports.ubuntu.com/ubuntu-ports/ trusty/main ppc64el Packages
          100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcre3/+bug/1270862/+subscriptions



More information about the foundations-bugs mailing list