See also: ``` commit cc6da9230435494f3f96907f94c82b967328aee8 Author: Brian Evans <grknight@gentoo.org> Date: Fri Oct 28 15:21:59 2022 -0400 dev-lang/php: Version bump for latest 8.2.0 RC Always enable ipv6 and disable valgrind as well Signed-off-by: Brian Evans <grknight@gentoo.org> ``` ... and bug 905725, bug 857597, bug 901969, bug 878133, and bug 901969.
Oops, I meant to write more in the original bug. Having Valgrind annotations is pretty useful to avoid false positives and noise, especially if an application does a *lot* of internal memory handling like Zend does. Could we have it under USE=valgrind please and not hard-disabled? Thanks.
I'm not sure the value here because I don't understand valgrind, but I'll list what PHP does with valgrind at this point with the specified configure flag: in Zend/zend_fibers.c: Registers and unregisters a stack in Zend/zend_string.c: it loads a header then ignores the rest that I can tell in php-cgi main loop: it enables/disables telemetry (note that php-cgi is used but not the first choice of many) in opcache jit, it disables valgrind translations (whatever that is) The rest of PHP ignores valgrind API in linking.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b86e0533bfe57f2889c0b29834f566be0f0ad55f commit b86e0533bfe57f2889c0b29834f566be0f0ad55f Author: Michael Orlitzky <mjo@gentoo.org> AuthorDate: 2023-07-30 12:35:10 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2023-07-31 00:49:13 +0000 dev-lang/php: add valgrind support (8.2 slot only). Closes: https://bugs.gentoo.org/906336 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> dev-lang/php/{php-8.2.8-r1.ebuild => php-8.2.8-r2.ebuild} | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)