Cannot build PHP-5.5 with --enable-dtrace on Fedora 17

From: Date: Thu, 06 Dec 2012 08:56:46 +0000
Subject: Cannot build PHP-5.5 with --enable-dtrace on Fedora 17
Groups: php.internals 
Request: Send a blank email to internals+get-64174@lists.php.net to get a copy of this message
I brought this up on #php.pecl yesterday and David already investigated a bit but I thought I should probably bring this up here as well. I cannot build PHP-5.5 with --enable-dtrace on Fedora 17, details are here: https://gist.github.com/4214282 The build aborts with gcc: error: unrecognized command line option ‘-prefer-non-pic’ "gcc /tmp/tmpZa7tY1.c" failed Usage /usr/bin/dtrace [--help] [-h | -G] [-C [-I<Path>]] -s File.d [-o make: *** [Zend/zend_dtrace.d.o] Error 1 make: *** Waiting for unfinished jobs.... If I remove -prefer-non-pic from the Makefile's [1] CFLAGS / CXXFLAGS then the build succeeds and I get a binary that has proper systemtap support built in. Any help appreciated, Sebastian -- [1] https://gist.github.com/4214349 -- Sebastian Bergmann Co-Founder and Principal Consultant http://sebastian-bergmann.de/ http://thePHP.cc/

« previous php.internals (#64174) next »