ID: 28157
Comment by: Bjorn dot Wiberg at its dot uu dot se
Reported By: ralf at kuerbis dot org
Status: Open
Bug Type: Compile Failure
Operating System: Solaris 9, AIX, BSD
PHP Version: 5CVS-2004-04-26 (dev)
New Comment:
Sorry, it seems I was a little too quick there -- the compile works
fine, but the 'make test' tests still fail massively on AIX 5.2.0.0.
:-/
================================================================================
/usr/local/src/php-5.0.0RC3/tests/run-test/test001.phpt
================================================================================
---- EXPECTED OUTPUT
abc
---- ACTUAL OUTPUT
abc
/usr/local/src/php-5.0.0RC3/main/main.c(1694) : Bailed out without a
bailout address!
---- FAILED
================================================================================
002+ /usr/local/src/php-5.0.0RC3/main/main.c(1694) : Bailed out without
a bailout address!
================================================================================
(And so it goes on...)
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 56
Exts tested : 27
---------------------------------------------------------------------
Number of tests : 1211 679
Tests skipped : 532 (43.9%) --------
Tests warned : 1 ( 0.1%) ( 0.1%)
Tests failed : 672 (55.5%) (99.0%)
Tests passed : 6 ( 0.5%) ( 0.9%)
---------------------------------------------------------------------
Time taken : 179 seconds
=====================================================================
Best regards,
Bj�rn
Previous Comments:
------------------------------------------------------------------------
[2004-06-16 11:11:20] Bjorn dot Wiberg at its dot uu dot se
This appears to be fixed in PHP 5.0.0RC3. Thanks!
Best regards,
Bj�rn
------------------------------------------------------------------------
[2004-06-04 08:39:55] Bjorn dot Wiberg at its dot uu dot se
Hi again,
Please let me know if there is anything I can do to help resolve this
issue. PHP 4 compiles cleanly on the same AIX (5.2.0.0) system.
Best regards,
Bj�rn
------------------------------------------------------------------------
[2004-05-28 16:13:53] Bjorn dot Wiberg at its dot uu dot se
Hi again!
However, almost all tests ('make test') fail with a "bailout" error:
================================================================================
/usr/local/src/php5-200405270430/tests/classes/array_access_003.phpt
================================================================================
---- EXPECTED OUTPUT
object::offsetGet(1)
Strict Standards: Only variable references should be returned by
reference in %sarray_access_003.php on line %d
string(6) "fooBar"
object::offsetGet(2)
int(1)
object::offsetGet(2)
object::offsetGet(2)
int(2)
===DONE===
---- ACTUAL OUTPUT
object::offsetGet(1)
Strict Standards: Only variable references should be returned by
reference in
/usr/local/src/php5-200405270430/tests/classes/array_access_003.php on
line 15
string(6) "fooBar"
object::offsetGet(2)
int(1)
object::offsetGet(2)
object::offsetGet(2)
int(2)
===DONE===
/usr/local/src/php5-200405270430/main/main.c(1699) : Bailed out without
a bailout address!
---- FAILED
I'd of course appreciate any clues as to what might cause this.
Best regards,
Björn
------------------------------------------------------------------------
[2004-05-28 15:43:28] Bjorn dot Wiberg at its dot uu dot se
Oops, small type, "-D_ALL_SOURCE".
Bestregards,
Björn
------------------------------------------------------------------------
[2004-05-28 15:32:33] Bjorn dot Wiberg at its dot uu dot se
Hi!
Thanks for your reply!
Adding -D_ALL_SOURCES to the CPPFLAGS variable when running configure
solved the problem. I've investigated /usr/include/sys/types.h, where
longlong_t is supposed to be defined, but the definition depends on
_LONG_LONG, which I can't find getting set anywhere...
#ifdef _LONG_LONG
typedef long long longlong_t;
typedef unsigned long long u_longlong_t;
#endif /* _LONG_LONG */
Best regards,
Björn
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/28157
--
Edit this bug report at http://bugs.php.net/?id=28157&edit=1