Re: com php-src: fix default args for --with-pcre-valgrind: ext/pcre/config0.m4
| From: | Christopher Jones | Date: | Mon, 24 Jul 2017 22:31:07 +0000 |
| Subject: | Re: com php-src: fix default args for --with-pcre-valgrind: ext/pcre/config0.m4 | ||
| References: | 1 2 3 | Groups: | php.cvs php.internals |
| Request: | Send a blank email to php-cvs+get-98779@lists.php.net to get a copy of this message | ||
On 20/7/17 10:31 am, Anatol Belski wrote:
Hi Chris,BTW, './configure --help' prints the --with-pcre-valgrind=DIR help twice. Chris -- http://twitter.com/ghrd-----Original Message----- From: Christopher Jones [mailto:christopher.jones@oracle.com] Sent: Thursday, July 20, 2017 2:11 AM To: Anatol Belski <ab@php.net>; php-cvs@lists.php.net; Tianfang Yang <tianfang.yang@oracle.com> Subject: Re: [PHP-CVS] com php-src: fix default args for --with-pcre-valgrind: ext/pcre/config0.m4 Hi Anatol, 7.2 & 7.3 builds now fails for me on macOS and Oracle Linux 7 with:It wasn't by default in the first version, later it was suggested by Nikita and for debug mode certainly makes sense, as for me. The reason behind this option is the upgrade of the bundled PCRE, which shows a lot of false positives without the integrated Valgrind support. Also I was basing on the fact the debug mode is actually developers only, normal use wouldn't be affected therefore. Why would users do debug builds? On a dev machine Valgrind would be anyway present. For developers it's best to have it by default, as PCRE usage is spread around the core here and there. Bug fixing also does normally involve valgrind checks. I wouldn't see the option itself as a big question, either way. If many people find the default enablement unsuitable, so the behavior can be reversed. Regards Anatol I'm not totally convinced merging debug-level arguments makes sense (why not always enable --enable-phpdbg-debug too?) But there are more important things to worry about, so I won't stress.checking for Valgrind headers location... configure: error: Could not findvalgrind/memcheck.hConfigure failedDo we really want users to have to explicitly disable PCRE valgrind when they are using --enable-debug?