ID:               50229
 Updated by:       [email protected]
 Reported By:      amit dot yedidia at elbitsystems dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Reproducible crash
 Operating System: linux 2.6.22.6
 PHP Version:      5.2.11
 New Comment:

We do not support cross-compiling, you're totally on your own.


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

[2009-11-19 12:06:28] amit dot yedidia at elbitsystems dot com

Description:
------------
I am compilinh php 5.2.11 for Arm9 (freescale Imx27)  running linux
2.6.22.6 kernel.

after the compilation is finished and I deploy it running the command
"php -i" is going ok. However trying to parse a php script (even it
contains only html tags) using "php -f test.php" leads to segmentation
fault. I got strace if needed.

compiling with -disable-all fix this problem.
so I minimize the difference between the 2 compilation but the problem
still reproduced.

//configure command - got segmentation fault
./configure --target=arm-unknown-linux-gnu
--prefix=/home/amit/workspace/DVE/Http/php-5.2.11/deploy --enable-debug
--disable-rpath --enable-bcmath --enable-embed=shared \
        --enable-inline-optimization --enable-safe-mode 

//my configure - dont get segmentataion fault
./configure --target=arm-unknown-linux-gnu
--prefix=/home/amit/workspace/DVE/Http/php-5.2.11/deploy --disable-all
--enable-debug --disable-rpath --enable-bcmath --enable-embed=shared \
        --enable-inline-optimization --enable-safe-mode 

Reproduce code:
---------------
the file contain only the following 2 lines
<html>
</html>

//running the php
php -f test.php

Expected result:
----------------
<html>
</html>


Actual result:
--------------
<html>
</html>
Segmentation fault



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


-- 
Edit this bug report at http://bugs.php.net/?id=50229&edit=1

Reply via email to