php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44600 --disable-all causes SPL-related error
Submitted: 2008-04-02 01:54 UTC Modified: 2008-04-03 11:19 UTC
From: tobias382 at gmail dot com Assigned: fb-req-jani (profile)
Status: Closed Package: Compile Failure
PHP Version: 5.2.5 OS: Kubuntu 7.10
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: tobias382 at gmail dot com
New email:
PHP Version: OS:

 

 [2008-04-02 01:54 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-04-02 15:17 UTC] 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-03 11:19 UTC] jani@php.net
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.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Sep 10 03:00:01 2025 UTC