#44600 [Opn->Csd]: --disable-all causes SPL-related error
| From: | jani@php.net | Date: | Thu, 03 Apr 2008 11:19:05 +0000 |
| Subject: | #44600 [Opn->Csd]: --disable-all causes SPL-related error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-123913@lists.php.net to get a copy of this message | ||
ID: 44600
Updated by: jani@php.net
Reported By: tobias382 at gmail dot com
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: Kubuntu 7.10
PHP Version: 5.2.5
Assigned To: fb-req-jani
New Comment:
No problem. I actually thought it shouldn't have existed in 5.2.5
either, according to CVS logs, but I guess I misread it. :D
Closed.
Previous Comments:
------------------------------------------------------------------------
[2008-04-02 15:17:30] tobias382 at gmail dot com
The issue appears to be fixed in this snapshot: php5.2-200804021430.
Apologies for the false alarm. I'll be sure to check the latest snapshot
before submitting a bug report next time.
------------------------------------------------------------------------
[2008-04-02 01:54:32] tobias382 at gmail dot com
Description:
------------
When building from the 5.2.5 source tarball with --disable-all and
without --enable-spl, a block of code in ext/standard/array.c that is
intended only for builds with SPL enabled is still being included.
Reproduce code:
---------------
./configure --prefix=build/php_build --disable-all --disable-cgi
--with-pcre-regex
make
Expected result:
----------------
If --disable-all is enabled and --enable-spl is not (both of which are
true in the aforementioned configure line), PHP should compile without
issue.
Actual result:
--------------
ext/standard/array.o: In function `zif_count':
ext/standard/array.c:324: undefined reference to `spl_ce_Countable'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44600&edit=1