Bug #78614 [Asn]: Does not compile with DTRACE anymore

From: Date: Thu, 03 Oct 2019 10:08:14 +0000
Subject: Bug #78614 [Asn]: Does not compile with DTRACE anymore
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-223014@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78614&edit=1 ID: 78614 Updated by: dmitry@php.net Reported by: tz at FreeBSD dot org Summary: Does not compile with DTRACE anymore Status: Assigned Type: Bug Package: Compile Failure Operating System: FreeBSD 11.2 PHP Version: 7.4.0RC2 Assigned To: dmitry Block user comment: N Private report: N New Comment: The problem occurs, only if executable (CLI, CGI, FPM) and shared (Apache) SAPIs are built together. In this case shared SPAI influences build system to use PIC object files for DTRACE for all SAPIs. Te problem doesn't exist on Linux and Solaris, because both PIC and non-PIC DTRACE objects are created. See https://github.com/php/php-src/commit/0ebef462ceb For workaround add "--with-pic" to configure arguments or build Apache and other SAPIs separately. Previous Comments: ------------------------------------------------------------------------ [2019-10-02 19:38:18] nikic@php.net @dmitry: Possibly related to PIC changes? ------------------------------------------------------------------------ [2019-10-02 19:15:30] tz at FreeBSD dot org Same error for RC 3. You can find a full log of error messages here: http://www.meisterderspiele.de/freebsd/php74-7.4.0.r3.log ------------------------------------------------------------------------ [2019-09-30 21:20:22] tz at FreeBSD dot org Description: ------------ While RC1 compiles fine, RC2 does not compile anymore with the same configuration. There are a bunch of undefined references. For example: === start === --- sapi/fpm/php-fpm --- Zend/zend_dtrace.d.o:(.SUNW_dof+0x1e0): undefined reference to `$dtrace1723905.zend_error_va_list' --- sapi/phpdbg/phpdbg --- Zend/zend_dtrace.d.o:(.SUNW_dof+0x1e0): undefined reference to `$dtrace1723905.zend_error_va_list' --- sapi/cli/php --- Zend/zend_dtrace.d.o:(.SUNW_dof+0x1e0): undefined reference to `$dtrace1723905.zend_error_va_list' --- sapi/fpm/php-fpm --- Zend/zend_dtrace.d.o:(.SUNW_dof+0x210): undefined reference to `$dtrace1723894.ZEND_CATCH_SPEC_CONST_HANDLER' --- sapi/phpdbg/phpdbg --- Zend/zend_dtrace.d.o:(.SUNW_dof+0x210): undefined reference to `$dtrace1723894.ZEND_CATCH_SPEC_CONST_HANDLER' --- sapi/cli/php --- Zend/zend_dtrace.d.o:(.SUNW_dof+0x210): undefined reference to `$dtrace1723894.ZEND_CATCH_SPEC_CONST_HANDLER' --- sapi/fpm/php-fpm --- main/main.o: In function `php_request_startup': main.c:(.text+0x1052): undefined reference to `__dtrace_php___request__startup' === end === You can find a full log with all error messages here: http://www.meisterderspiele.de/freebsd/php74-7.4.0.r2.log Greetings, Torsten ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=78614&edit=1

« previous php.bugs (#223014) next »