ID: 45148 Updated by: [EMAIL PROTECTED] Reported By: ncoesel at dealogic dot nl -Status: Open +Status: Wont fix Bug Type: Compile Failure Operating System: Linux PHP Version: 5.2.6 New Comment:
If you're cross-compiling PHP, you're on your own. We don't support nor try to support cross-compiling in any way. There's enough problems with "normal" compiling. Previous Comments: ------------------------------------------------------------------------ [2008-07-11 09:29:50] rsxin at hotmail dot com I have the same error running folling script under mips-64 platform: $this->time = date('H:i:s'); ------------------------------------------------------------------------ [2008-06-03 16:42:20] mike at w4g dot org I just experienced a different result of the same problem on another big-endian cross compiled platform. A floatval() conversion resulted in the CPU being pegged until the script hit the 30s timeout. Doing some ptrace(GETREGS) sampling of the program counter showed the processor in pow5mult() and s2b(). Floating point constants were interpreted as -0 and floating point calculations would also wedge the CPU. As a kludge setting 'ac_cv_c_bigendian_php=yes' in the environment before running configure got it working. Debugging PHP on a stripped down embedded platform is not fun. Configuring bombing out would have saved a few hours. ------------------------------------------------------------------------ [2008-06-02 11:52:14] ncoesel at dealogic dot nl Description: ------------ I had the error "Balloc() allocation exceeds list boundary" on a MIPS big endian platform. It turns out configure cannot test for endiannes and sets ac_cv_c_bigendian_php to "unknown" which presumably defaults to little endian. IMHO configure should stop and produce a clear error to enforce a proper build environment. Reproduce code: --------------- <?php phpinfo(); ?> Expected result: ---------------- Php info output Actual result: -------------- "Balloc() allocation exceeds list boundary" when trying to print the date. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45148&edit=1