ID: 46770
User updated by: ryo dot wong at uplinuxes dot net
Reported By: ryo dot wong at uplinuxes dot net
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: centos 5.2 64bit
PHP Version: 5.2.8
New Comment:
If there is no set icc in PHP 5.2.8, it is normal, but PHP 5.2.6, it is
normal to use icc.
Previous Comments:
------------------------------------------------------------------------
[2008-12-09 12:48:38] [EMAIL PROTECTED]
Did you or did you not try without setting those flags prior to running
configure? Please answer the feedback requested, NOTHING else.
------------------------------------------------------------------------
[2008-12-09 10:57:58] ryo dot wong at uplinuxes dot net
php 5.2.8 the same problems, php 5.2.6 did not.
------------------------------------------------------------------------
[2008-12-09 09:37:17] [EMAIL PROTECTED]
Let's try again: DO NOT set any CC / CXX / CFLAGS yourself.
------------------------------------------------------------------------
[2008-12-09 01:09:46] ryo dot wong at uplinuxes dot net
Error message:
icc: command line warning #10006: ignoring unknown option '-frpath'
icc: command line warning #10006: ignoring unknown option '-frpath'
icc: command line warning #10156: ignoring option '-s'; no argument
required
ipo: error #11021: OBJREAD Error: Could not create mapping for
/usr/local/lib
icc: error #10014: problem during multi-file optimization compilation
(code 1)
make: *** [libphp5.la] Error 1
------------------------------------------------------------------------
[2008-12-09 01:05:12] ryo dot wong at uplinuxes dot net
The revised php 5.2.7 / 5.2.8 same problem, but in php 5.2.6 do not
have this problem.
#!/bin/sh
export CC="icc -static-intel"
export CXX="icpc -static-intel"
export CXXFLAGS="-O3 -unroll2 -ip -mp -restrict -xP"
./configure \
--libdir=/usr/lib64 \
--with-apxs2 \
--with-curl=/usr/local \
--with-gd \
--with-ttf \
--with-gettext \
--with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local \
--with-freetype-dir=/usr/local \
--with-iconv=/usr/local \
--with-zlib \
--with-zlib-dir=/usr/local \
--with-mcrypt \
--with-mhash \
--with-openssl \
--with-kerberos=/usr/lib64 \
--with-mysql=/usr/local/mysqld/lib64/mysql \
--with-mysqli=/usr/local/mysqld/bin/mysql_config \
--with-pdo-mysql=/usr/local/mysqld \
--with-pear \
--enable-bcmath \
--enable-calendar \
--enable-exif \
--enable-ftp \
--enable-gd-native-ttf \
--enable-magic-quotes \
--enable-safe-mode \
--enable-soap \
--enable-sockets \
--enable-mbstring \
--enable-zip \
--enable-wddx \
--disable-ipv6
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/46770
--
Edit this bug report at http://bugs.php.net/?id=46770&edit=1