php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48367 the same compile error with intel c++ 10
Submitted: 2009-05-23 13:01 UTC Modified: 2009-05-24 08:17 UTC
From: yangda at gmx dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.2.9 OS: centos5.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: yangda at gmx dot com
New email:
PHP Version: OS:

 

 [2009-05-23 13:01 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-05-23 13:08 UTC] yangda at gmx dot com
the same compile error with intel c++ 10
 [2009-05-23 15:27 UTC] jani@php.net
I don't know where you found those sources, but in PHP there isn't and 
has never been any file like that. 
 [2009-05-24 08:17 UTC] yangda at gmx dot com
Sorry, it's anight's. http://php-fpm.anight.org
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 12 08:01:30 2024 UTC