php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63695 PHP doesn't build with shared extensions and dtrace enabled
Submitted: 2012-12-05 11:00 UTC Modified: 2013-08-14 18:59 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: dsp@php.net Assigned: dsp (profile)
Status: Duplicate Package: *General Issues
PHP Version: 5.5.0alpha1 OS: Solaris 11
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dsp@php.net
New email:
PHP Version: OS:

 

 [2012-12-05 11:00 UTC] dsp@php.net
Description:
------------
PHP doesn't build if an extension is to build shared and --enable-dtrace is 
enabled.

Test script:
---------------
./configure --enable-calendar=shared --enable-dtrace

Expected result:
----------------
build complete

Actual result:
--------------
__dtrace_php___request__shutdown    main/.libs/main.o
__dtrace_php___exception__caught    Zend/.libs/zend_execute.o
__dtrace_php___execute__return      Zend/.libs/zend_dtrace.o
__dtrace_php___request__startup     main/.libs/main.o
__dtraceenabled_php___exception__caught Zend/.libs/zend_execute.o
__dtrace_php___compile__file__entry Zend/.libs/zend_dtrace.o
__dtraceenabled_php___function__entry Zend/.libs/zend_dtrace.o
$dtrace15765465.ZEND_CATCH_SPEC_CONST_CV_HANDLER Zend/zend_dtrace.d.o
__dtrace_php___execute__entry       Zend/.libs/zend_dtrace.o
__dtraceenabled_php___error         Zend/.libs/zend.o
__dtraceenabled_php___function__return Zend/.libs/zend_dtrace.o
/fastcgi.lo -lresolv -lrt -lm -lnsl -lsocket -lgcc  -o sapi/cgi/php-cgi
UndefinedUndefined                              first referenced
 symbol                             in          firstfile
 __dtraceenabled_php___execute__entryreferenced Zend/.libs
/zend_dtrace.o
 symbol__dtraceenabled_php___execute__return  Zend/ .libs/      zend_dtrace.o
        __dtrace_php___compile__file__return     Zend/ .libs/ zend_dtrace.o
 __dtrace_php___exception__thrown     Zendin/.libs/ zend_exceptions.o
file__dtrace_php___error
     __dtraceenabled_php___execute__entry  Zend/.libs/zend_dtrace.o
__dtraceenabled_php___execute__return Zend/.libs/zend_dtrace.o
__dtrace_php___compile__file__return Zend/.libs/zend_dtrace.o
__dtrace_php___exception__thrown    Zend/.libs/zend_exceptions.o
__dtrace_php___error                Zend/.libs/zend.o

__dtraceenabled_php___exception__thrown Zend/.libs/zend_exceptions.o
ld: fatal: symbol referencing errors. No output written to sapi/cli/php
   collect2: ld returned 1 exit status
   Zend/.libs/zend.o
__dtrace_php___function__entry      Zend/.libs/zend_dtrace.o
__dtrace_php___function__return     Zend/.libs/zend_dtrace.o
__dtrace_php___request__shutdown    main/.libs/main.o
__dtrace_php___exception__caught    Zend/.libs/zend_execute.o
__dtrace_php___execute__return      Zend/.libs/zend_dtrace.o
__dtrace_php___request__startup     main/.libs/main.o
__dtraceenabled_php___exception__caught Zend/.libs/zend_execute.o
__dtrace_php___compile__file__entry Zend/.libs/zend_dtrace.o
__dtraceenabled_php___function__entry Zend/.libs/zend_dtrace.o
$dtrace15765465.ZEND_CATCH_SPEC_CONST_CV_HANDLER Zend/zend_dtrace.d.o
__dtrace_php___execute__entry       Zend/.libs/zend_dtrace.o
__dtraceenabled_php___error         Zend/.libs/zend.o
__dtraceenabled_php___function__return Zend/.libs/zend_dtrace.o
__dtraceenabled_php___exception__thrown Zend/.libs/zend_exceptions.o
ld: fatal: symbol referencing errors. No output written to sapi/cgi/php-cgi
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
make: *** Waiting for unfinished jobs....
make: *** [sapi/cgi/php-cgi] Error 1


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-12-05 11:00 UTC] dsp@php.net
-Assigned To: +Assigned To: dsp
 [2013-08-14 18:59 UTC] sixd@php.net
-Status: Assigned +Status: Duplicate
 [2013-08-14 18:59 UTC] sixd@php.net
I'm going to close this as a dup of https://bugs.php.net/bug.php?id=62692
The issues all seem related to PIC/non-PIC object creation.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Sep 30 17:01:23 2020 UTC