[pcre-dev] [Bug 2385] New: Uses SSE2 unconditionally on i386

Kezdőlap
Üzenet törlése
Szerző: admin
Dátum:  
Címzett: pcre-dev
Új témák: [pcre-dev] [Bug 2385] Uses SSE2 unconditionally on i386, [pcre-dev] [Bug 2385] Uses SSE2 unconditionally on i386, [pcre-dev] [Bug 2385] Uses SSE2 unconditionally on i586, [pcre-dev] [Bug 2385] Uses SSE2 unconditionally on i586
Tárgy: [pcre-dev] [Bug 2385] New: Uses SSE2 unconditionally on i386
https://bugs.exim.org/show_bug.cgi?id=2385

            Bug ID: 2385
           Summary: Uses SSE2 unconditionally on i386
           Product: PCRE
           Version: 10.32 (PCRE2)
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: ph10@???
          Reporter: matthew@???
                CC: pcre-dev@???


Created attachment 1183
--> https://bugs.exim.org/attachment.cgi?id=1183&action=edit
Patch to fix this issue (by Guillem Jover <guillem@???> )

Hi,

This was reported as Debian bug 925360; I am forwarding on the original
submitter's report (and their patch):

"""
I just upgraded a server of mine to Debian buster, and roundcube's
postinst started to crash with "Illegal instruction" messages from a
php process, due to usage of a SSE2 instruction (PSLLDQ). This
instruction is not required by our ISA baseline, and SSE2 is not
present on many i386 based CPUs, such as AMD Semprons for example.

Tracking this down was a bit of a pain, as the offending instructions
were JITed at run-time, so there were no symbols associated, or
indication from where this was coming from. Checking php source
themselves revelead at least what seemed like some unconditional usage
of AVX, SSE2, SSS3 and SSE4.x instructions, and I've got a patch for
that, but this didn't fix the problem. Because php links against the
system pcre2 instead of using its internal embedded copy.

So attached is the matching patch for pcre2, that does fix this issue
for me.
"""

Regards,

Matthew

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