From: chrism at cjsoftuk dot dyndns dot org Operating system: Ubuntu Linux 7.04 PHP version: 5.2.3 PHP Bug Type: Compile Failure Bug description: GCC segfaults while compiling PHP
Description: ------------ Started compiling PHP on 32-bit Ubuntu, GCC/++4.1. I end up with the output shown below. Reproduce code: --------------- Download 5.2.3. Start to compile using GCC4.1. Expected result: ---------------- GCC/++ runs and compiles PHP. Actual result: -------------- /bin/sh /home/kegsadmin/php-5.2.3/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -Iext/date/ -I/home/kegsadmin/php-5.2.3/ext/date/ -DPHP_ATOM_INC -I/home/kegsadmin/php-5.2.3/include -I/home/kegsadmin/php-5.2.3/main -I/home/kegsadmin/php-5.2.3 -I/usr/include/libxml2 -I/home/kegsadmin/php-5.2.3/ext/date/lib -I/home/kegsadmin/php-5.2.3/ext/mbstring/oniguruma -I/home/kegsadmin/php-5.2.3/ext/mbstring/libmbfl -I/home/kegsadmin/php-5.2.3/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/home/kegsadmin/php-5.2.3/TSRM -I/home/kegsadmin/php-5.2.3/Zend -I/usr/include -g -O2 -c /home/kegsadmin/php-5.2.3/ext/date/lib/parse_date.c -o ext/date/lib/parse_date.lo /home/kegsadmin/php-5.2.3/ext/date/lib/parse_date.c: In function 'timelib_strtotime': /home/kegsadmin/php-5.2.3/ext/date/lib/parse_date.c:21665: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. For Debian GNU/Linux specific bug reporting instructions, see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>. The bug is not reproducible, so it is likely a hardware or OS problem. make: *** [ext/date/lib/parse_date.lo] Error 1 -- Edit bug report at http://bugs.php.net/?id=41586&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41586&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41586&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41586&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=41586&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=41586&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=41586&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=41586&r=needscript Try newer version: http://bugs.php.net/fix.php?id=41586&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=41586&r=support Expected behavior: http://bugs.php.net/fix.php?id=41586&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=41586&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=41586&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=41586&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41586&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=41586&r=dst IIS Stability: http://bugs.php.net/fix.php?id=41586&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=41586&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=41586&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=41586&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=41586&r=mysqlcfg