[OpenIndiana-discuss] DTrace with PHP 5.3
Chris Ridd
chrisridd at mac.com
Tue Sep 27 06:23:36 UTC 2011
On 23 Sep 2011, at 02:59, Lou Picciano wrote:
> Alasdair,
>
> Have since tried php-5.3.99 from trunk, and am seeing a bit more - this may even be useful feedback! FWIW, I am not seeing the undefined symbol errors...
>
> (I'll also try the author - he'll know we're really interested!)
>
> Lou
>
> /export/home/drlou/Downloads/php/Zend/zend.c: In function `zend_error':
> /export/home/drlou/Downloads/php/Zend/zend.c:1072: warning: passing arg 2 of `__dtrace_php___error' discards qualifiers from pointer target type
> dtrace -G -o Zend/zend_dtrace.d.o -s /export/home/drlou/Downloads/php/Zend/zend_dtrace.d main/.libs/main.o Zend/.libs/zend_API.o Zend/.libs/zend_execute.o Zend/.libs/zend_exceptions.o Zend/.libs/zend_dtrace.o Zend/.libs/zend.o
> dtrace: failed to compile script /export/home/drlou/Downloads/php/Zend/zend_dtrace.d: "/usr/lib/dtrace/mpi.d", line 70: failed to resolve type genunix`kthread_t * for identifier curthread: Module and program data models do not match
I had that problem with something else dtrace-y recently. The installed mpi.d is incompatible somehow, and the pkg that delivers it should be uninstalled. IIRC it was clustertools from the now-dead pkg.opensolaris.org repo.
Chris
More information about the OpenIndiana-discuss
mailing list