From: remi at FamilleCollet dot com
Operating system: HP-UX 11.11
PHP version: 5.1.0
PHP Bug Type: Compile Failure
Bug description: "alias not allowed in this configuration"
Description:
------------
When compiling php-5.1.0 on HP-UX an error occured on file Zend/zend.c,
line 1040 :
#if defined(__GNUC__) && !defined(__INTEL_COMPILER) && !defined(DARWIN)
void zend_error_noreturn(int type, const char *format, ...) __attribute__
((alias("zend_error"),noreturn));
#endif
This test is true while is should not on HP-UX.
file Zend/zend.h, line 254, use the same test.
It sould be corrected to include the following lines
# define ZEND_VM_ALWAYS_INLINE
# define zend_error_noreturn zend_error
With this correction, PHP 5.1.0RC7 compile and work on HP-UX.
--
Edit bug report at http://bugs.php.net/?id=35373&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35373&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=35373&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=35373&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=35373&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35373&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35373&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35373&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35373&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35373&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35373&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=35373&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=35373&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35373&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35373&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35373&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35373&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35373&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35373&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35373&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35373&r=mysqlcfg