Bug #65940 [Com]: zend_dtrace.d failed to resolve INP_IPV4

From: Date: Tue, 21 Jan 2014 10:19:20 +0000
Subject: Bug #65940 [Com]: zend_dtrace.d failed to resolve INP_IPV4
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-183932@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65940&edit=1 ID: 65940 Comment by: martynas at dulksna dot org Reported by: devzone dot my at gmail dot com Summary: zend_dtrace.d failed to resolve INP_IPV4 Status: Feedback Type: Bug Package: *General Issues Operating System: FreeBSD 10.0-BETA1 PHP Version: 5.5.5 Block user comment: N Private report: N New Comment: can confirm that "kldload dtraceall" or already loaded dtrace kernel modules fixes this issue. tried with php55(from ports) on 10.0-RELEASE FreeBSD. without dtrace modules loaded compilation fails with message reported above. Previous Comments: ------------------------------------------------------------------------ [2013-10-22 21:34:01] sixd@php.net Can you clarify what "php incorrect dtrace unload error message" means? From Googling the rest of your text, I assume that you have fixed your problem by configuring BSD to allow DTracing??? Can you list the steps you needed to do, so the PHP DTrace documentation (http://www.php.net/manual/en/features.dtrace.dtrace.php) can be updated with basic FreeBSD configuration information? ------------------------------------------------------------------------ [2013-10-22 04:43:04] devzone dot my at gmail dot com Found problem, php incorrect dtrace unload error message $ kldload dtraceall $ echo"dtraceall_load=YES" >> /boot/loader.conf ------------------------------------------------------------------------ [2013-10-22 04:43:04] devzone dot my at gmail dot com Found problem, php incorrect dtrace unload error message $ kldload dtraceall $ echo"dtraceall_load=YES" >> /boot/loader.conf ------------------------------------------------------------------------ [2013-10-21 22:30:40] sixd@php.net Some brainstorm thoughts: - Does it work with older FreeBSD releases? - Did http://git.php.net/?p=php-src.git;a=commit;h=3c5e22921202bf5451774b23e2a25fb73029fc68 affect anything? - Do you need anything special for FreeBSD in the PHP_INIT_DTRACE macro in acinclude.m4? - Check with PHP 5.5.1. Some DTrace fixes have been merged since then, but they were not expected to impact FreeBSD. I, personally, can only test DTrace on Solaris and Oracle Linux. ------------------------------------------------------------------------ [2013-10-21 16:57:23] devzone dot my at gmail dot com Description: ------------ ftp://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/10.0/ # make showconfig -C /usr/ports/lang/php55 | grep DTRACE DTRACE=on: Enable DTrace support ----------- CFLAGS="-O2 -pipe -fno-strict-aliasing" dtrace -h -C -s /usr/ports/lang/php55/work/php-5.5.5/Zend/zend_dtrace.d -o Zend/zend_dtrace_gen.h.bak && sed -e 's,PHP_,DTRACE_,g' Zend/zend_dtrace_gen.h.bak > Zend/zend_dtrace_gen.h dtrace: failed to compile script /usr/ports/lang/php55/work/php-5.5.5/Zend/zend_dtrace.d: "/usr/lib/dtrace/regs_x86.d", line 30: failed to resolve INP_IPV4: Unknown variable name *** [Zend/zend_dtrace_gen.h] Error code 1 make[2]: stopped in /usr/ports/lang/php55/work/php-5.5.5 1 error ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=65940&edit=1

« previous php.bugs (#183932) next »