Edit report at https://bugs.php.net/bug.php?id=62692&edit=1
ID: 62692
Comment by: fahadaliarshad at gmail dot com
Reported by: eugene at zhegan dot in
Summary: PHP fails to build with dtrace
Status: Closed
Type: Bug
Package: *General Issues
Operating System: Solaris 10 x86
PHP Version: 5.4.5
Assigned To: dsp
Block user comment: N
Private report: N
New Comment:
For PHP-5.3.3 support with dtrace/systemtap on Linux, see the instructions here: https://github.com/faarshad/php-5.3.3-dtrace-port
I have tested it on Debian GNU/Linux 6.0 (kernel 2.6.32)
Previous Comments:
------------------------------------------------------------------------
[2013-08-24 00:03:48] sixd@php.net
The patch was merged to 5.4, 5.5 and master branches on 16th August.
------------------------------------------------------------------------
[2013-08-15 05:14:18] eugene at zhegan dot in
I've tested this patch on Solaris 11.1. Works just great - building went fine,
probes are functional when running php.
Thanks for a great work.
------------------------------------------------------------------------
[2013-08-14 20:21:19] sixd@php.net
To use the patch:
- Download a recent PHP 5.4/5.4/trunk snapshot from http://snaps.php.net
- patch < acinclude.m4.patch
- rm -f configure && ./buildconf --force
- ./configure ...
------------------------------------------------------------------------
[2013-08-14 19:11:16] sixd@php.net
The following patch has been added/updated:
Patch Name: acinclude.m4.patch
Revision: 1376507476
URL: https://bugs.php.net/patch-display.php?bug=62692&patch=acinclude.m4.patch&revision=1376507476
------------------------------------------------------------------------
[2013-08-14 19:09:25] sixd@php.net
I've attached a patch (acinclude.m4.patch) that uses the correct
PIC/non-PIC .o files on Solaris and Linux. Please test your
configurations. If there are issues, please give the full
"./configure" line (and reduce the options to the minimum that
reproduces the problem - this is important to reproducing your
issues).
Apply the patch to a recent PHP 5.4/5.5/trunk snapshot from
http://snaps.php.net. Several other DTrace related patches have
been
merged in the last few days and are only in snapshots.
The patch does not change linking for non-Solaris/Linux platforms.
These platforms may benefit from the new code path implemented for
Solaris & Linux but users on non-Solaris/Linux platforms will need to
verify this and supply a new patch.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=62692--
Edit this bug report at https://bugs.php.net/bug.php?id=62692&edit=1