Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

Intel C++ Compiler 10.1.021 on php 5.2.8 compiler failure

ryowong1985
Beginner
250 Views

php 5.2.8 using Intel C++ Compiler 10.1.021 on php 5.2.8 compiler
failure.

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

#!/bin/sh
export CC="icc -static-intel"
export CFLAGS="-O3 -unroll2 -ip -mp -restrict -xP"
export CXX="icpc -static-intel"
export CXXFLAGS="-O3 -unroll2 -ip -mp -restrict -xP"
./configure \
--libdir=/usr/lib64 \
--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

0 Kudos
0 Replies
Reply