Edit report at https://bugs.php.net/bug.php?id=63706&edit=1
ID: 63706 Updated by: [email protected] Reported by: [email protected] Summary: Cannot build PHP-5.5 with --enable-dtrace on Fedora 17 Status: Verified Type: Bug Package: *General Issues Operating System: Fedora 17 PHP Version: 5.5Git-2012-12-06 (Git) Assigned To: dsp Block user comment: N Private report: N New Comment: go ahead and merge it then Previous Comments: ------------------------------------------------------------------------ [2012-12-15 08:12:33] [email protected] The patch solves the issue for me: I can build PHP-5.5 with --enable-dtrace. ------------------------------------------------------------------------ [2012-12-11 07:12:10] [email protected] The following patch has been added/updated: Patch Name: dtrace-cflags.patch Revision: 1355209930 URL: https://bugs.php.net/patch-display.php?bug=63706&patch=dtrace-cflags.patch&revision=1355209930 ------------------------------------------------------------------------ [2012-12-10 11:53:00] [email protected] This might be one of the issues, but my investigations said that usually the problem is that a main/main.o build is triggered by a prequisite of zend_dtrace.d.o that shouldnt be there. ------------------------------------------------------------------------ [2012-12-10 11:49:33] [email protected] The issue seems to come from CFLAGS beeing exported, so used in the dtrace/gcc sub-process. >From Makefile CFLAGS = $(CFLAGS_CLEAN) -prefer-non-pic -static CFLAGS_CLEAN = -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -Wno-pointer-sign -fvisibility=hidden Obviously -prefer-non-pic is not a gcc option, but a libtool one. The attached patch use CFLAGS_CLEAN instead of CFLAGS for dtrace build. It solves the dtrace build issue on fedora (and rpm) build. If you think it's ok, I will apply it. ------------------------------------------------------------------------ [2012-12-10 11:46:00] [email protected] The following patch has been added/updated: Patch Name: dtrace-cflags.patch Revision: 1355139960 URL: https://bugs.php.net/patch-display.php?bug=63706&patch=dtrace-cflags.patch&revision=1355139960 ------------------------------------------------------------------------ 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=63706 -- Edit this bug report at https://bugs.php.net/bug.php?id=63706&edit=1
