#48367 [Opn]: the same compile error with intel c++ 10
| From: | yangda at gmx dot com | Date: | Sat, 23 May 2009 13:08:32 +0000 |
| Subject: | #48367 [Opn]: the same compile error with intel c++ 10 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-137662@lists.php.net to get a copy of this message | ||
ID: 48367
User updated by: yangda at gmx dot com
-Summary: Coolcookies
Reported By: yangda at gmx dot com
Status: Open
Bug Type: Compile Failure
Operating System: centos5.3
PHP Version: 5.2.9
New Comment:
the same compile error with intel c++ 10
Previous Comments:
------------------------------------------------------------------------
[2009-05-23 13:01:03] yangda at gmx dot com
Description:
------------
Hi. I want to make install PHP5.2.8 or PHP5.2.9 with intel c++ 10, but
I had given the same error with your fpm_children.c file. I make install
PHP5.2.8 or PHP5.2.9 like this:
tar zxvf php-5.2.8.tar.gz or php-5.2.9.tar.gz
gzip -cd php-5.2.8-fpm-0.5.10.diff.gz | patch -d php-5.2.8 -p1
cd php-5.2.8/
CC='icc -static-intel' CFLAGS='-O2 -unroll2 -ip -mp -restrict -xP'
CXX='icpc -static-intel' CXXFLAGS='-O2 -unroll2 -ip -mp -restrict -xP'
./configure --prefix=/usr/local/php
--with-config-file-path=/usr/local/php/etc --with-mysql=/usr/local/mysql
--with-mysqli=/usr/local/mysql/bin/mysql_config
--with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir
--with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml
--disable-rpath --enable-discard-path --enable-safe-mode --enable-bcmath
--enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl
--with-curlwrappers --enable-mbregex -enable-fastcgi --enable-fpm
--enable-force-cgi-redirect --enable-mbstring -with-mcrypt --with-gd
--enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl
--enable-sockets --disable-ipv6
but when I make test, it would depend an error:
compilation aborted for php-5.2.8/sapi/cgi/fpm/fpm_children.c (code 4)
make: *** [sapi/cgi/fpm/fpm_children.lo] Error 1
If I had only used CC=icc CXX=icpc ./configure
--prefix=/usr/local/php......, no CFLAGS, no CXXFLAGS. But, when I make
test, the same error is:
compilation aborted for php-5.2.8/sapi/cgi/fpm/fpm_children.c (code 4)
make: *** [sapi/cgi/fpm/fpm_children.lo] Error 1
So, I think it's possible that the fpm_children.c file has bug.
Thanks.
Coolcookies
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=48367&edit=1