Re: libpcre 8.37 requires extra flags (at least on AIX)
| From: | Stanislav Malyshev | Date: | Wed, 20 May 2015 18:28:09 +0000 |
| Subject: | Re: libpcre 8.37 requires extra flags (at least on AIX) | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-86327@lists.php.net to get a copy of this message | ||
Hi!
> While building the PHP 5.6.9 (which has libpcre 8.37) it seems we're
> missing -lpthreads build flag (for cli SAPI), as this library upgrade added
> this requirement.
>
> The files requiring is pcrelib/sljit/sljitUtils.c
>
> 5.5.25, which doesn't have this file, works fine without the flag.
>
> I think this requirement should be reflected in ext/pcre/config0.m4 (or is
> there something more relevant?)
Hmm... I wonder why it needs pthreads or does it depend on some config.
Is it on AIX only? Because for me it builds fine on both Linux and Darwin.
I think if it's 8.37 missing sljitUtils.c is a bug.
--
Stas Malyshev
smalyshev@gmail.com