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

 ID:                 63704
 Updated by:         s...@php.net
 Reported by:        s...@php.net
 Summary:            Can't 'make' a second time with --enable-dtrace
-Status:             Assigned
+Status:             Duplicate
 Type:               Bug
 Package:            *General Issues
 Operating System:   Oracle Linux 6.3
 PHP Version:        5.5 Git
 Assigned To:        dsp
 Block user comment: N
 Private report:     N

 New Comment:

This is one of the symptoms reported in https://bugs.php.net/bug.php?id=61268
Closing as a dup of that bug.


Previous Comments:
------------------------------------------------------------------------
[2012-12-06 21:39:17] d...@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:16] d...@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 03:41:19] s...@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 03:20:13] s...@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


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



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

Reply via email to