Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64174 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95713 invoked from network); 6 Dec 2012 08:56:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Dec 2012 08:56:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=sebastian@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=sebastian@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 93.190.64.37 as permitted sender) X-PHP-List-Original-Sender: sebastian@php.net X-Host-Fingerprint: 93.190.64.37 mail-7.de-punkt.de Received: from [93.190.64.37] ([93.190.64.37:34365] helo=mail-7.de-punkt.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B8/B1-19753-FCD50C05 for ; Thu, 06 Dec 2012 03:56:48 -0500 Received: (qmail 21906 invoked by uid 511); 6 Dec 2012 08:56:46 -0000 Received: by simscan 1.3.1 ppid: 21902, pid: 21904, t: 0.3361s scanners: attach: 1.4.0 Received: from unknown (HELO ?192.168.2.31?) (sb@sebastian-bergmann.de@93.214.177.67) by 0 with ESMTPA; 6 Dec 2012 08:56:46 -0000 Message-ID: <50C05DCE.4000308@php.net> Date: Thu, 06 Dec 2012 09:56:46 +0100 Reply-To: internals@lists.php.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: internals@lists.php.net X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Cannot build PHP-5.5 with --enable-dtrace on Fedora 17 From: sebastian@php.net (Sebastian Bergmann) 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]] -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/