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:

This appears to be fixed in PHP 5.0.0RC3. Thanks!

Best regards,
Björn


Previous Comments:
------------------------------------------------------------------------

[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

------------------------------------------------------------------------

[2004-05-28 13:24:16] [EMAIL PROTECTED]

Bjoern:
Please try to find out what causes longlong_t to be defined on your
system and try to trace it back to one of the _XOPEN_SOURCE style
definitions.  I heard someone suggest that defining _ALL_SOURCE helped
on AIX, could you please try that too.
I tried to email you directly the other day, but the email address you
have supplied appears to be invalid.

------------------------------------------------------------------------

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

Reply via email to