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/

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to