#46770 [Fbk->Opn]: Intel C + + Compiler 11.0 on php 5.2.7

From: Date: Tue, 09 Dec 2008 01:05:12 +0000
Subject: #46770 [Fbk->Opn]: Intel C + + Compiler 11.0 on php 5.2.7
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-131783@lists.php.net to get a copy of this message
ID: 46770 User updated by: ryo dot wong at uplinuxes dot net -Reported By: ryo dot wong at i010 dot com +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.7 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2008-12-08 10:49:53] jani@php.net Try without setting your own CFLAGS, etc. And these paths are invalid: /usr/local/lib (correct path in this case is: /usr/local) ------------------------------------------------------------------------ [2008-12-06 03:39:52] ryo dot wong at i010 dot com 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: warning #11009: file format not recognized for /usr/local/lib ipo: warning #11009: file format not recognized for /usr/local/mysqld/lib64/mysql ld: ext/libxml/.libs/libxml.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC ext/libxml/.libs/libxml.o: could not read symbols: Bad value make: *** [libphp5.la] Error 1 #!/bin/sh source /opt/intel/Compiler/11.0/074/bin/intel64/iccvars_intel64.sh export CC="icc -static-intel" export CFLAGS="-O3 -unroll2 -ip -restrict -xP" export CXX="icpc -static-intel" export CXXFLAGS="-O3 -unroll2 -ip -restrict -xP" ./configure \ --with-apxs2 \ --with-curl=/usr/local/lib \ --with-gd \ --with-ttf \ --with-gettext \ --with-jpeg-dir=/usr/local/lib \ --with-png-dir=/usr/local/lib \ --with-freetype-dir=/usr/local/lib \ --with-iconv=/usr/local \ --with-zlib \ --with-zlib-dir=/usr/local/lib \ --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 ------------------------------------------------------------------------ [2008-12-05 19:28:46] pajoye@php.net And the error is? ------------------------------------------------------------------------ [2008-12-05 17:58:40] ryo dot wong at uplinuxes dot net Description: ------------ php 5.2.7 using Intel C + + Compiler 11.0 Professional Edition for Linux compiler error. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46770&edit=1

« previous php.bugs (#131783) next »