ID: 31122 Updated by: [EMAIL PROTECTED] Reported By: hans-gunther dot borrmann at rz dot uni-freiburg dot de -Status: Assigned +Status: Feedback Bug Type: Compile Failure Operating System: AIX 5.1 PHP Version: 4.3.10 Assigned To: derick New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Previous Comments: ------------------------------------------------------------------------ [2004-12-17 15:09:12] hans-gunther dot borrmann at rz dot uni-freiburg dot de *** php4-STABLE-200412170730/Zend/zend_strtod.c 2004-12-17 11:31:31.000000000 +0100 --- php-4.3.10/Zend/zend_strtod.c 2004-12-14 09:35:26.000000000 +0100 *************** *** 95,106 **** static char *rcsid = "$OpenBSD: strtod.c,v 1.19 2004/02/03 16:52:11 drahn Exp $"; #endif /* LIBC_SCCS and not lint */ ! #include <sys/param.h> #if BYTE_ORDER == BIG_ENDIAN #define IEEE_BIG_ENDIAN #else #define IEEE_LITTLE_ENDIAN #endif #if defined(__arm__) && !defined(__VFP_FP__) /* --- 95,112 ---- static char *rcsid = "$OpenBSD: strtod.c,v 1.19 2004/02/03 16:52:11 drahn Exp $"; #endif /* LIBC_SCCS and not lint */ ! #if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \ ! defined(__mips__) || defined(__ns32k__) || defined(__alpha__) || \ ! defined(__powerpc__) || defined(__ppc__) || defined(__m88k__) || \ ! defined(__hppa__) || defined(__x86_64__) || (defined(__arm__) && \ ! defined(__VFP_FP__)) ! #include #if BYTE_ORDER == BIG_ENDIAN #define IEEE_BIG_ENDIAN #else #define IEEE_LITTLE_ENDIAN #endif + #endif #if defined(__arm__) && !defined(__VFP_FP__) /* ) && !defined(__VFP_FP__) /* ------------------------------------------------------------------------ [2004-12-17 14:49:16] [EMAIL PROTECTED] So what is your quick hack? ------------------------------------------------------------------------ [2004-12-17 12:58:43] [EMAIL PROTECTED] Do you have a patch? ------------------------------------------------------------------------ [2004-12-17 12:51:27] hans-gunther dot borrmann at rz dot uni-freiburg dot de I have tried the CVS but the problem remains. The reason for the compilation to fail seems to be that configure says "checking host system type... powerpc-ibm-aix5.1.0.0" but neither powerpc nor ppc get defined. Therefore IEEE_BIG_ENDIAN does not get defined at line 105 of zend_strtod.c. Also the include of sys/types.h seems wrong to me in the case of AIX. I have unconditionally included sys/param.h and the file compiles. param.h includes types.h and other files which also define the BYTE_ORDER. Hope that Helps ------------------------------------------------------------------------ [2004-12-16 14:26:22] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Please try a recent snapshot, or provide me with access to the machine so that I can debug it. ------------------------------------------------------------------------ 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/31122 -- Edit this bug report at http://bugs.php.net/?id=31122&edit=1