Edit report at https://bugs.php.net/bug.php?id=65940&edit=1

 ID:                 65940
 User updated by:    devzone dot my at gmail dot com
 Reported by:        devzone dot my at gmail dot com
 Summary:            zend_dtrace.d failed to resolve INP_IPV4
-Status:             Feedback
+Status:             Open
 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:

Found problem, php incorrect dtrace unload error message

$  kldload dtraceall
$ echo"dtraceall_load=YES" >> /boot/loader.conf


Previous Comments:
------------------------------------------------------------------------
[2013-10-21 22:30:40] s...@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

Reply via email to