Bug #70781 [Ver->Csd]: Extension tests fail on dynamic ext dependency

From: Date: Wed, 09 Dec 2015 10:10:38 +0000
Subject: Bug #70781 [Ver->Csd]: Extension tests fail on dynamic ext dependency
References: 1  Groups: php.bugs php.qa 
Request: Send a blank email to php-bugs+get-197730@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70781&edit=1 ID: 70781 Updated by: ab@php.net Reported by: francois@php.net Summary: Extension tests fail on dynamic ext dependency -Status: Verified +Status: Closed Type: Bug Package: Testing related Operating System: Linux PHP Version: 7.0.0RC5 Block user comment: N Private report: N New Comment: Automatic comment on behalf of francois Revision: http://git.php.net/?p=php-src.git;a=commit;h=25abf2f028171fd89627824ef2c98090a2802361 Log: Fix bug #70781 (Extension tests fail on dynamic ext dependency) Previous Comments: ------------------------------------------------------------------------ [2015-11-05 21:25:05] kalle@php.net I think this should go into 7.0.1 as well as the 5.x series, so green light from me for the first 7.0 patch release ------------------------------------------------------------------------ [2015-10-24 17:50:24] francois@php.net Description: ------------ This is related to the patch introduced by Derick in 2011 (see http://grokbase.com/t/php/php-internals/11bwptaj78/run-tests-php-and-dynamic-extension-dependencies). The patch works well if dependency occurs at the PHP level. But, if there is a C-level dependency (C function call), it doesn't work because the tested extension is loaded *before* the extension it depends on (causing an 'Undefined symbol error). Test script: --------------- Clone PCS extension from https://github.com/flaupretre/pecl-pcs. Compile and install PCS go to the examples/example1 subdirectory. This is an example extension depending on PCS. phpize && ./configure && make make test -> fail, every tests are skipped ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=70781&edit=1

« previous php.bugs (#197730) next »