php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41586 GCC segfaults while compiling PHP
Submitted: 2007-06-04 11:27 UTC Modified: 2007-06-04 11:39 UTC
From: chrism at cjsoftuk dot dyndns dot org Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.2.3 OS: Ubuntu Linux 7.04
Private report: No CVE-ID: None
 [2007-06-04 11:27 UTC] chrism at cjsoftuk dot dyndns dot org
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-06-04 11:39 UTC] tony2001@php.net
GCC problems should be reported to GCC developers.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 26 07:00:02 2025 UTC