Re: [cocci] Pre-compiled spatch links against EOL PCRE version

Victor Gambier <[email protected]> Wed, 21 Jan 2026 12:14:35 +0100
Newsgroups fr.inria.cocci
Message-ID <[email protected]>
Hello,

Work on PCRE2 has been completed - I've finished what Olaf's started.

The patch is on master (b231de0db). Feel free to send feedback if you 
notice any issues once this becomes a release.

Victor

On 12/16/25 15:35, Victor Gambier wrote:
> Hi Manuel,
>
> Thanks for the report. You're right, we should move to PCRE2.
>
> Olaf Hering suggested a patch earlier this year to do just this and I 
> forgot about it until now. I'll work on reviewing and merging it.
>
> Victor
>
> On 12/15/25 15:43, Manuel Wiesinger wrote:
>> Hello everyone,
>>
>> The pre-compiled binary provided on the Download page [1] links against
>> libpcre.so.3. This library is unmaintained by upstream [2] and not
>> available on recent distributions, including Debian 13 [3], RHEL 10 and
>> Arch Linux.
>>
>> I have been using spatch linked against PCRE2 (/usr/lib/libpcre.so.1)
>> extensively for days without any issues on Arch Linux.
>>
>> [1] 
>> https://coccinelle.gitlabpages.inria.fr/website/distrib/coccinelle-1.3.1-bin-x86.tar.gz
>> [2] https://www.pcre.org/ (See Versions)
>> [3] https://lists.debian.org/debian-devel/2021/11/msg00176.html
>>
>> Take care,
>> Manuel