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

 ID:                 62692
 Updated by:         s...@php.net
 Reported by:        eugene at zhegan dot in
 Summary:            PHP fails to build with dtrace
 Status:             Verified
 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:

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.


Previous Comments:
------------------------------------------------------------------------
[2013-08-06 00:37:56] mike at harschsystems dot com

Related To: Bug #61268

------------------------------------------------------------------------
[2013-08-05 16:05:25] mike at harschsystems dot com

Related To: Bug #61268

------------------------------------------------------------------------
[2012-12-13 03:49:20] eugene at zhegan dot in

And yes, forgot to mention, this is reproduceable on Solaris 11 and 11.1.

------------------------------------------------------------------------
[2012-12-13 03:48:07] eugene at zhegan dot in

Wow, terribly sorry for misinterpreting the question.
Yup, I've built most of the modules as shared:

xmlrpc,pear,mcrypt,openssl,curl,bz2,xsl,imap,imap-ssl - these are shared 
modules.

------------------------------------------------------------------------
[2012-12-12 17:19:51] eugene at zhegan dot in

Actually the DTrace support for 5.4.x is pretty much working, and one of my 
long comments here describes why's it's not building clearly and how to fix it, 
I suppose the Makefile can be fixed too (so it doesn't clobber ther dtrace.d 
file, invokes sed on solaris properly, and most of all - copies the dtraced 
object files to .libs). So I hope it's worth fixing.

------------------------------------------------------------------------


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

Reply via email to