[21.10 FEAT] Update PCRE2 for JIT and Performance Improvements on s390x

Bug #1931857 reported by bugproxy
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu on IBM z Systems
Fix Released
High
Skipper Bug Screeners
pcre2 (Ubuntu)
Fix Released
High
Canonical Foundations Team

Bug Description

PCRE2 version 10.37 as available from https://ftp.pcre.org/pub/pcre/
contains the enablement of the JIT and provides some performance improvements

Version 10.38 to be released in November or December 2021 will contain the complete implementation with full JIT performance.

To pick up the changes please configure with "--enable-jit" for s390x.

It may be beneficial to rebuild certain dependent packages after that change, such as haproxy.

bugproxy (bugproxy)
tags: added: architecture-s39064 bugnameltc-193238 severity-high targetmilestone-inin2110
Changed in ubuntu:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
affects: ubuntu → linux (Ubuntu)
Frank Heimes (fheimes)
affects: linux (Ubuntu) → pcre2 (Ubuntu)
Changed in ubuntu-z-systems:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
importance: Undecided → High
Changed in pcre2 (Ubuntu):
assignee: Skipper Bug Screeners (skipper-screen-team) → Canonical Foundations Team (canonical-foundations)
Changed in ubuntu-z-systems:
status: New → Triaged
tags: added: fr-1553
Revision history for this message
Frank Heimes (fheimes) wrote :

I've created a patched new version and created this debdiff.

Revision history for this message
Frank Heimes (fheimes) wrote :

I've also successfully compiled the new patched package cross-platform in this PPA:
https://launchpad.net/~fheimes/+archive/ubuntu/lp1931857/+packages

Revision history for this message
Frank Heimes (fheimes) wrote :

I've also build the patched file locally on s390x (where also the build flags were changed);
and successfully ran the provided tests.

Lukas Märdian (slyon)
information type: Private → Public
Changed in pcre2 (Ubuntu):
status: New → In Progress
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: Triaged → In Progress
Revision history for this message
Frank Heimes (fheimes) wrote :

Since the updated pcre2 version just landed in proposed:
pcre2 | 10.37-0ubuntu1 | impish-proposed
I'm updating this ticket to Fix Committed.

Changed in pcre2 (Ubuntu):
status: In Progress → Fix Committed
Changed in ubuntu-z-systems:
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "pcre2.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Mathew Hodson (mhodson)
Changed in pcre2 (Ubuntu):
importance: Undecided → High
Revision history for this message
Graham Inggs (ginggs) wrote :

This upload is currently stuck in -proposed due to an autokpkgtest failure in mariadb-10.5:

/usr/bin/mysqltest: error while loading shared libraries: libpcre2-posix.so.2: cannot open shared object file: No such file or directory

I've found that upstream changed the SONAME from libpcre2-posix.so.2 to libpcre2-posix.so.3, due to several dropped symbols. The binary package libpcre2-posix2 should be renamed to libpcre2-posix3 and reverse-dependencies hardlink and mariadb-10.5 need to be rebuilt.

I have tested all of this in my PPA and the rebuilt mariadb-10.5's autopkgtest now pass there.

I'd like an ack from release team before I go ahead and complete this transition.

Revision history for this message
Steve Langasek (vorlon) wrote :

+1 for the release team, this is a small self-contained transition for a change already in -proposed as of feature freeze.

Revision history for this message
Graham Inggs (ginggs) wrote :

Uploaded:
pcre2/10.37-0ubuntu2
hardlink/0.3.2build2
mariadb-10.5/1:10.5.12-1build1

Now waiting for migration (blocked by glibc).

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pcre2 - 10.37-0ubuntu2

---------------
pcre2 (10.37-0ubuntu2) impish; urgency=medium

  * Rename binary package libpcre2-posix2 -> libpcre2-posix3
  * Update libpcre2-posix3.symbols
  * Reinstate pcre2-config.in.diff as a quilt patch

 -- Graham Inggs <email address hidden> Wed, 25 Aug 2021 07:09:06 +0000

Changed in pcre2 (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Frank Heimes (fheimes) wrote :

The requested pcre2 version has landed now in impish:
libpcre2-32-0 | 10.37-0ubuntu2 | impish
hence closing this ticket as Fix Released.

Changed in ubuntu-z-systems:
status: Fix Committed → Fix Released
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2021-10-25 05:36 EDT-------
The requested pcre2 version landed in impish, therefore closing the bug.
IBM BZ status change to:->CLOSED

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers