[OpenIndiana-discuss] Fwd: DTrace with PHP 5.3
alasdairrr at gmail.com
Tue Sep 20 20:16:25 UTC 2011
On 09/17/11 03:53 PM, Lou Picciano wrote:
> Your timing on this couldn't be better - I've been doing a lot of builds
> of v5.3.8 this week. One major point for us is that we need the 'embed'
> SAPI, but haven't been able to build embed and apxs2 into the same build
> I'm sure you've got it covered better than I could, but do let me know
> if I can help... Lou
Have you had any luck porting the dtrace bits to php 5.3.8? I
successfully managed to "port" (or at least merge) the integrated dtrace
bits from PHP 5.3.99 (the codename for php 6 I think) into 5.3.8,
however it bombs out in the install stage at the last minute:
alasdair php (al-sunbox.office): pfexec gmake install
cc /export/home/alasdair/php/Zend/zend_dtrace.d.o -o
Undefined first referenced
symbol in file
ld: fatal: symbol referencing errors. No output written to
gmake: *** [/export/home/alasdair/php/Zend/zend_dtrace.d] Error 1
I thought perhaps my port of the code had gone wrong, but then I tried
building php 5.3.99 itself, and it had exactly the same issue.
I have tried with both gcc 3.4.3, gcc 4.5.2, and Sun Studio and always
encounter the same problem.
I contacted what I think is the main author of the DTrace patch in PHP
5.3.99 (David Soria Parra) and he replied to my first email but hasn't
gotten back to me yet after I provided more info to him.
It would be interesting to see if you can get php 5.3.99 to successfully
build with dtrace enabled. Instructions are here:
I might try older revisions from the subversion repo if I find time.
More information about the OpenIndiana-discuss