php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58811 iterator_006.phpt fails on 64 bits
Submitted: 2009-08-15 01:30 UTC Modified: 2010-07-29 13:09 UTC
From: remicollet@php.net Assigned:
Status: Closed Package: APC (PECL)
PHP Version: 5.3.0RC4 OS: Linux (Fedora 11)
Private report: No CVE-ID: None
 [2009-08-15 01:30 UTC] remicollet@php.net
Description:
------------
All tests succeed on i386 and ppc.

iterator_006.phpt on x86_64 and ppc64.

Build with php 5.3.0 (not tested with 5.3.1rc1)


Reproduce code:
---------------
phpize

./configure --build=powerpc64-unknown-linux-gnu --host=powerpc64-unknown-linux-gnu --target=ppc64-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-apc-mmap --with-php-config=/usr/bin/php-config

make -j4

TEST_PHP_EXECUTABLE=$(which php) php run-tests.php \
    -n -q -d extension_dir=modules \
    -d extension=apc.so



Expected result:
----------------
Tests passed    :   24 

Actual result:
--------------
FAILED TEST SUMMARY
---------------------------------------------------------------------
APC: APCIterator formats [tests/iterator_006.phpt]


cat tests/iterator_006.diff
705+   int(648)
705-   int(580)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-08-15 04:08 UTC] Fedora at famillecollet dot com
Same result with latest 5.3.1-dev (200908150630)

Regards.
 [2009-09-26 06:30 UTC] shire@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 [2010-07-26 18:07 UTC] vquach at computerhistory dot org
I am getting the same error even installing today in 2010 when 
the problem is supposed fix in 2009.  make test reveals the 
error in my 64bit OS, and has no errors in my 32bit OS
 [2010-07-29 13:09 UTC] gopalv82 at yahoo dot com
Aren't you testing the exact same version you built before?

Try svn trunk, also I'm sort of polishing it up for a release - so any comments would be helpful.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 10:01:28 2024 UTC