php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28370 gcc: Internal compiler error: program cc1 got fatal signal 11
Submitted: 2004-05-12 15:34 UTC Modified: 2004-12-21 07:49 UTC
Votes:4
Avg. Score:4.0 ± 0.7
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:3 (100.0%)
From: rehanann at kfupm dot edu dot sa Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5CVS-2004-05-12 (dev) OS: Aix 5.2 ML 2
Private report: No CVE-ID: None
 [2004-05-12 15:34 UTC] rehanann at kfupm dot edu dot sa
Description:
------------
Haa, I hope php will work in near future I compile with apache and mysql. please provide the solution.

compilition option are.
./configure  --disable-inline-optimization --with-apxs2=/usr/local/apache2/bin/apxs --with-ftp --with-pear --with-mysql=/u
sr/local/mysql --enable-shared --with-trans-sid --enable-mod_charset --enable-mysql --enable-ftp --with-imap-ssl=/usr/local/
ssl --with-ssl --enable-ssl


Reproduce code:
---------------
/tmp/horde/php/Zend/zend_hash.h:264: invalid lvalue in assignment
/tmp/horde/php/Zend/zend_hash.h:265: case label not within a switch statement
/tmp/horde/php/Zend/zend_hash.h:265: invalid operands to binary <<
/tmp/horde/php/Zend/zend_hash.h:265: wrong type argument to increment
/tmp/horde/php/Zend/zend_hash.h:265: invalid lvalue in assignment
/tmp/horde/php/Zend/zend_hash.h:265: break statement not within loop or switch
/tmp/horde/php/Zend/zend_hash.h:266: case label not within a switch statement
/tmp/horde/php/Zend/zend_hash.h:266: break statement not within loop or switch
/tmp/horde/php/Zend/zend_hash.h:269: warning: return makes integer from pointer without a cast
/tmp/horde/php/Zend/zend_hash.h: At top level:
/tmp/horde/php/Zend/zend_hash.h:273: parse error before `uint'
/tmp/horde/php/Zend/zend_hash.h:273: `zend_hash_func' declared as function returning a function
/tmp/horde/php/Zend/zend_hash.h:326: parse error before `*'
/tmp/horde/php/Zend/zend_hash.h: In function `zend_symtable_update':
/tmp/horde/php/Zend/zend_hash.h:328: `nKeyLength' undeclared (first use in this function)
gcc: Internal compiler error: program cc1 got fatal signal 11
make: 1254-004 The error code from the last command is 1.



Expected result:
----------------
should work with apache and mysql.

Actual result:
--------------
ERROR!.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-12 22:12 UTC] derick@php.net
Your compiler is segfaulting, which can not be caused by a bug in PHP. 
 [2004-05-26 16:59 UTC] Bjorn dot Wiberg at its dot uu dot se
A "solution" to this particular bug is to download gcc 3.3.2.0 from http://www.bullfreeware.com/ and install it according to the instructions on that site. (The user "freeware" is required to exist on the system, so create it beforehand).

Make sure to call PHP's configure script with:

CC=/usr/local/bin/gcc CPPFLAGS="-I/usr/local/include" ./configure <DIRECTIVES>

Best regards,
Björn
 [2004-05-28 13:40 UTC] rehanann at kfupm dot edu dot sa
No I try with your solution the result is same, This is PHP error after compilition and build the PHP binary there is no confusion for make install to generate any error if we did any mistake in compilition and build the binary the PHP will not work but its should install, this is the PHP bug.

Installing PHP SAPI module:       apache2handler
/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp4.la /usr/local/apache2/modules
rm -f /usr/local/apache2/modules/libphp4.so
/usr/local/apache2/build/libtool --mode=install cp libphp4.la /usr/local/apache2/modules/
cp .libs/libphp4.a /usr/local/apache2/modules/libphp4.a
cp .libs/libphp4.lai /usr/local/apache2/modules/libphp4.la
libtool: install: warning: remember to run `libtool --finish /tmp/horde/php-4.3.5/libs'
chmod 755 /usr/local/apache2/modules/libphp4.so
chmod: /usr/local/apache2/modules/libphp4.so: A file or directory in the path name does not exist.
apxs:Error: Command failed with rc=65536
.
make: 1254-004 The error code from the last command is 1.


Stop.
 [2004-10-22 11:08 UTC] Bjorn dot Wiberg at its dot uu dot se
Please see http://bugs.php.net/bug.php?id=30160 regarding the *.so files not being found; the error is most likely in the libphp*.la file in the PHP top directory containing references to libphp*.a instead of libphp*.so.

Best regards,
Bj?rn
 [2004-12-21 07:49 UTC] sniper@php.net
It's problem with the installed grep. There is already bug report about that so I'm closing this one.
(you can easily fix this by installing working GNU grep and making sure it's the one found first in PATH)

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 16:01:29 2024 UTC