php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63704 Can't 'make' a second time with --enable-dtrace
Submitted: 2012-12-06 03:20 UTC Modified: 2013-07-31 21:46 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: sixd@php.net Assigned: dsp
Status: Duplicate Package: *General Issues
PHP Version: 5.5 Git OS: Oracle Linux 6.3
Private report: No CVE-ID:
 [2012-12-06 03:20 UTC] sixd@php.net
Description:
------------
For any build with --enable-dtrace, running 'make' a second time after a 
successful build gives a compile failure.

Test script:
---------------
./configure --disable-all --enable-dtrace
make
make

Expected result:
----------------
Both 'make' commands succeed.

Actual result:
--------------
The actual result is the second 'make' fails like:

$ make
cc   /home/cjones/php-src/Zend/zend_dtrace.d.o   -o /home/cjones/php-
src/Zend/zend_dtrace.d
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../lib64/crt1.o: In function 
`_start':
(.text+0x20): undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [/home/cjones/php-src/Zend/zend_dtrace.d] Error 1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-12-06 03:20 UTC] sixd@php.net
-PHP Version: 5.3Git-2012-12-06 (Git) +PHP Version: 5.5 Git
 [2012-12-06 03:41 UTC] sixd@php.net
After getting the error, the workaround is to do:
  git checkout Zend/zend_dtrace.d
and then repeat the 'make'.
 [2012-12-06 21:37 UTC] dsp@php.net
-Package: DTrace +Package: *General Issues
 [2012-12-06 21:39 UTC] dsp@php.net
Changed it to "General issue" as this is a bug of the DTRaces probes in core not 
the DTrace package.
 [2012-12-06 21:39 UTC] dsp@php.net
-Assigned To: +Assigned To: dsp
 [2012-12-06 21:39 UTC] dsp@php.net
Changed it to "General issue" as this is a bug of the DTRaces probes in core not 
the DTrace package.
 [2012-12-06 21:39 UTC] dsp@php.net
-Status: Assigned +Status: Open
 [2013-07-31 21:46 UTC] sixd@php.net
-Status: Assigned +Status: Duplicate
 [2013-07-31 21:46 UTC] sixd@php.net
This is one of the symptoms reported in https://bugs.php.net/bug.php?id=61268
Closing as a dup of that bug.
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Fri Apr 18 08:02:55 2014 UTC