php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46770 Compile fails with Intel C + + Compiler 11.0
Submitted: 2008-12-05 17:58 UTC Modified: 2009-01-29 01:00 UTC
Votes:13
Avg. Score:4.8 ± 0.4
Reproduced:13 of 13 (100.0%)
Same Version:11 (84.6%)
Same OS:6 (46.2%)
From: ryo dot wong at uplinuxes dot net Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5.2.8 OS: centos 5.2 64bit
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2008-12-05 17:58 UTC] ryo dot wong at uplinuxes dot net
Description:
------------
php 5.2.7 using Intel C + + Compiler 11.0 Professional Edition for Linux compiler error.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-12-05 19:28 UTC] pajoye@php.net
And the error is?
 [2008-12-06 03:39 UTC] 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-08 10:49 UTC] 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-09 01:09 UTC] 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 09:37 UTC] jani@php.net
Let's try again: DO NOT set any CC / CXX / CFLAGS yourself. 
 [2008-12-09 10:57 UTC] ryo dot wong at uplinuxes dot net
php 5.2.8 the same problems, php 5.2.6 did not.
 [2008-12-09 12:48 UTC] jani@php.net
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 13:00 UTC] ryo dot wong at uplinuxes dot net
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.
 [2008-12-09 15:24 UTC] jani@php.net
In PHP 5.2.7 and above there are checks for use of icc, you don't need to mess with any environment vars.
 [2008-12-09 23:16 UTC] roy dot wong at i010 dot com
Without any intel icc environment mysql configure failed.

checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
checking for mysql_close in -lmysqlclient_r... no
checking for mysql_error in -lmysqlclient_r... no
configure: error: mysql configure failed. Please check config.log for more information.

config.log:
configure:59985: checking for mysql_close in -lmysqlclient_r
configure:60004: gcc -o conftest -I/usr/local/include -g -O2 -pthread  -D_REENTRANT -L/usr/local/lib  -Wl,-rpath,/usr/local/lib -L/usr/local/lib conftest.c -lmysqlclient_r  -lmhash -lmcrypt -lltdl -liconv -lfreetype -lpng -lz -ljpeg -lssl -lcrypto -lcurl -lz -lssl -lcrypto -lresolv -lm -ldl -lnsl  -lxml2 -lz -liconv -lm -lcurl -lxml2 -lz -liconv -lm 1>&5
/usr/local/lib/libmysqlclient_r.a(client.o): In function `cli_read_rows':
client.c:(.text+0x583): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(client.o): In function `mysql_real_connect':
client.c:(.text+0x23bd): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(viosocket.o): In function `vio_read_buff':
viosocket.c:(.text+0x2eb): undefined reference to `_intel_fast_memcpy'
viosocket.c:(.text+0x344): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(net.o): In function `net_write_command':
net.c:(.text+0x8bc): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(net.o):net.c:(.text+0x965): more undefined references to `_intel_fast_memcpy' follow
/usr/local/lib/libmysqlclient_r.a(libmysql.o): In function `fetch_long_with_conversion':
libmysql.c:(.text+0x1962): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(libmysql.o): In function `fetch_float_with_conversion':
libmysql.c:(.text+0x1e82): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(libmysql.o): In function `fetch_string_with_conversion':
libmysql.c:(.text+0x221a): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(libmysql.o): In function `cli_read_binary_rows':
libmysql.c:(.text+0x234d): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(libmysql.o): In function `store_param_str':
libmysql.c:(.text+0x325f): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(libmysql.o): In function `store_param_datetime':
libmysql.c:(.text+0x333f): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(libmysql.o): In function `store_param_date':
libmysql.c:(.text+0x33d8): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(libmysql.o):libmysql.c:(.text+0x34b3): more undefined references to `_intel_fast_memcpy' follow
/usr/local/lib/libmysqlclient_r.a(password.o): In function `check_scramble':
password.c:(.text+0x21b): undefined reference to `_intel_fast_memcmp'
/usr/local/lib/libmysqlclient_r.a(my_malloc.o): In function `my_strdup_with_length':
my_malloc.c:(.text+0x27): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(my_malloc.o): In function `my_strdup':
my_malloc.c:(.text+0x124): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(my_malloc.o): In function `my_memdup':
my_malloc.c:(.text+0x156): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(my_alloc.o): In function `memdup_root':
my_alloc.c:(.text+0x27): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(my_alloc.o): In function `strmake_root':
my_alloc.c:(.text+0x1a9): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(default.o):default.c:(.text+0x2b1): more undefined references to `_intel_fast_memcpy' follow
/usr/local/lib/libmysqlclient_r.a(ctype-latin1.o): In function `my_strnxfrm_latin1_de':
ctype-latin1.c:(.text+0x282): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(bchange.o): In function `bchange':
bchange.c:(.text+0x4f): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(my_vsnprintf.o): In function `my_vsnprintf':
my_vsnprintf.c:(.text+0x499): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(ctype.o): In function `cs_value':
ctype.c:(.text+0x2bb): undefined reference to `_intel_fast_memcpy'
ctype.c:(.text+0x332): undefined reference to `_intel_fast_memcpy'
ctype.c:(.text+0x87d): undefined reference to `_intel_fast_memcpy'
ctype.c:(.text+0x8a9): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(ctype-simple.o): In function `my_long10_to_str_8bit':
ctype-simple.c:(.text+0x35c): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(ctype-simple.o):ctype-simple.c:(.text+0x46c): more undefined references to `_intel_fast_memcpy' follow
/usr/local/lib/libmysqlclient_r.a(ctype-simple.o): In function `my_fill_8bit':
ctype-simple.c:(.text+0x4a9): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(ctype-simple.o): In function `my_strnxfrm_simple':
ctype-simple.c:(.text+0x11c2): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(ctype-bin.o): In function `my_strnncoll_8bit_bin':
ctype-bin.c:(.text+0x28): undefined reference to `_intel_fast_memcmp'
/usr/local/lib/libmysqlclient_r.a(ctype-bin.o): In function `my_strnxfrm_8bit_bin':
ctype-bin.c:(.text+0x131): undefined reference to `_intel_fast_memcpy'
ctype-bin.c:(.text+0x152): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(ctype-bin.o): In function `my_strnncoll_binary':
ctype-bin.c:(.text+0x58e): undefined reference to `_intel_fast_memcmp'
/usr/local/lib/libmysqlclient_r.a(ctype-bin.o): In function `my_strnncollsp_binary':
ctype-bin.c:(.text+0x5cc): undefined reference to `_intel_fast_memcmp'
/usr/local/lib/libmysqlclient_r.a(ctype-bin.o): In function `my_strnxfrm_bin':
ctype-bin.c:(.text+0x605): undefined reference to `_intel_fast_memcpy'
ctype-bin.c:(.text+0x623): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(ctype-big5.o): In function `my_strnxfrm_big5':
ctype-big5.c:(.text+0x6cf): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(ctype-czech.o): In function `my_strnxfrm_czech':
ctype-czech.c:(.text+0x952): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(ctype-cp932.o): In function `my_strnxfrm_cp932':
ctype-cp932.c:(.text+0x48d): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(ctype-win1250ch.o): In function `my_strnxfrm_win1250ch':
ctype-win1250ch.c:(.text+0x59c): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(ctype-utf8.o): In function `my_strnncoll_utf8':
ctype-utf8.c:(.text+0x1e8): undefined reference to `_intel_fast_memcmp'
/usr/local/lib/libmysqlclient_r.a(ctype-utf8.o): In function `my_strnncollsp_utf8':
ctype-utf8.c:(.text+0x55c): undefined reference to `_intel_fast_memcmp'
/usr/local/lib/libmysqlclient_r.a(ctype-ucs2.o): In function `my_strnxfrm_ucs2_bin':
ctype-ucs2.c:(.text+0xa9e): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(ctype-gbk.o): In function `my_strnxfrm_gbk':
ctype-gbk.c:(.text+0x434): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(ctype-sjis.o): In function `my_strnxfrm_sjis':
ctype-sjis.c:(.text+0x48d): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(ctype-tis620.o): In function `my_strnncoll_tis620':
ctype-tis620.c:(.text+0x5d): undefined reference to `_intel_fast_memcpy'
ctype-tis620.c:(.text+0x73): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(ctype-tis620.o): In function `my_strnncollsp_tis620':
ctype-tis620.c:(.text+0x316): undefined reference to `_intel_fast_memcpy'
ctype-tis620.c:(.text+0x32e): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(ctype-tis620.o): In function `my_strnxfrm_tis620':
ctype-tis620.c:(.text+0x782): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(ctype-uca.o): In function `my_wildcmp_uca':
ctype-uca.c:(.text+0x822): undefined reference to `_intel_fast_memcmp'
ctype-uca.c:(.text+0x84c): undefined reference to `_intel_fast_memcmp'
ctype-uca.c:(.text+0x883): undefined reference to `_intel_fast_memcmp'
ctype-uca.c:(.text+0xa69): undefined reference to `_intel_fast_memcmp'
ctype-uca.c:(.text+0xa8d): undefined reference to `_intel_fast_memcmp'
/usr/local/lib/libmysqlclient_r.a(ctype-uca.o):ctype-uca.c:(.text+0xaa9): more undefined references to `_intel_fast_memcmp' follow
/usr/local/lib/libmysqlclient_r.a(ctype-uca.o): In function `my_coll_init_uca':
ctype-uca.c:(.text+0x14c7): undefined reference to `_intel_fast_memcpy'
ctype-uca.c:(.text+0x15da): undefined reference to `_intel_fast_memcpy'
ctype-uca.c:(.text+0x1b40): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(xml.o): In function `my_xml_parse':
xml.c:(.text+0x27c): undefined reference to `_intel_fast_memcpy'
xml.c:(.text+0x554): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(xml.o):xml.c:(.text+0x682): more undefined references to `_intel_fast_memcpy' follow
/usr/local/lib/libmysqlclient_r.a(ctype-mb.o): In function `my_strnncoll_mb_bin':
ctype-mb.c:(.text+0x28): undefined reference to `_intel_fast_memcmp'
/usr/local/lib/libmysqlclient_r.a(ctype-mb.o): In function `my_strnxfrm_mb_bin':
ctype-mb.c:(.text+0x131): undefined reference to `_intel_fast_memcpy'
ctype-mb.c:(.text+0x152): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(ctype-mb.o): In function `my_like_range_mb':
ctype-mb.c:(.text+0x63f): undefined reference to `_intel_fast_memcpy'
ctype-mb.c:(.text+0x66c): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(ctype-mb.o): In function `my_wildcmp_mb_bin':
ctype-mb.c:(.text+0x76b): undefined reference to `_intel_fast_memcmp'
ctype-mb.c:(.text+0x99c): undefined reference to `_intel_fast_memcmp'
/usr/local/lib/libmysqlclient_r.a(ctype-mb.o): In function `my_wildcmp_mb':
ctype-mb.c:(.text+0x1060): undefined reference to `_intel_fast_memcmp'
ctype-mb.c:(.text+0x12a9): undefined reference to `_intel_fast_memcmp'
/usr/local/lib/libmysqlclient_r.a(inflate.o): In function `inflateCopy':
inflate.c:(.text+0x14b): undefined reference to `_intel_fast_memcpy'
inflate.c:(.text+0x1d1): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(inflate.o): In function `inflateSetDictionary':
inflate.c:(.text+0x55f): undefined reference to `_intel_fast_memcpy'
inflate.c:(.text+0x5a0): undefined reference to `_intel_fast_memcpy'
inflate.c:(.text+0x5f6): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(inflate.o):inflate.c:(.text+0x624): more undefined references to `_intel_fast_memcpy' follow
/usr/local/lib/libmysqlclient_r.a(deflate.o): In function `deflate':
deflate.c:(.text+0x23b1): undefined reference to `_intel_fast_memset'
deflate.c:(.text+0x2439): undefined reference to `_intel_fast_memcpy'
deflate.c:(.text+0x2568): undefined reference to `_intel_fast_memcpy'
deflate.c:(.text+0x26a0): undefined reference to `_intel_fast_memcpy'
deflate.c:(.text+0x27f5): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(deflate.o): In function `deflateSetDictionary':
deflate.c:(.text+0x2e0b): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(deflate.o): In function `deflateReset':
deflate.c:(.text+0x2f8c): undefined reference to `_intel_fast_memset'
collect2: ld returned 1 exit status
configure: failed program was:
#line 59993 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char mysql_close();

int main() {
mysql_close()
; return 0; }
configure:60227: checking for mysql_error in -lmysqlclient_r
configure:60246: gcc -o conftest -I/usr/local/include -g -O2 -pthread  -D_REENTRANT -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/lib  -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local -L/usr/local conftest.c -lmysqlclient_r  -lz -lmhash -lmcrypt -lltdl -liconv -lfreetype -lpng -lz -ljpeg -lssl -lcrypto -lcurl -lz -lssl -lcrypto -lresolv -lm -ldl -lnsl  -lxml2 -lz -liconv -lm -lcurl -lxml2 -lz -liconv -lm 1>&5
/usr/local/lib/libmysqlclient_r.a(client.o): In function `cli_read_rows':
client.c:(.text+0x583): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(client.o): In function `mysql_real_connect':
client.c:(.text+0x23bd): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(viosocket.o): In function `vio_read_buff':
viosocket.c:(.text+0x2eb): undefined reference to `_intel_fast_memcpy'
viosocket.c:(.text+0x344): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(net.o): In function `net_write_command':
net.c:(.text+0x8bc): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(net.o):net.c:(.text+0x965): more undefined references to `_intel_fast_memcpy' follow
/usr/local/lib/libmysqlclient_r.a(libmysql.o): In function `fetch_long_with_conversion':
libmysql.c:(.text+0x1962): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(libmysql.o): In function `fetch_float_with_conversion':
libmysql.c:(.text+0x1e82): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(libmysql.o): In function `fetch_string_with_conversion':
libmysql.c:(.text+0x221a): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(libmysql.o): In function `cli_read_binary_rows':
libmysql.c:(.text+0x234d): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(libmysql.o): In function `store_param_str':
libmysql.c:(.text+0x325f): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(libmysql.o): In function `store_param_datetime':
libmysql.c:(.text+0x333f): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(libmysql.o): In function `store_param_date':
libmysql.c:(.text+0x33d8): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(libmysql.o):libmysql.c:(.text+0x34b3): more undefined references to `_intel_fast_memcpy' follow
/usr/local/lib/libmysqlclient_r.a(password.o): In function `check_scramble':
password.c:(.text+0x21b): undefined reference to `_intel_fast_memcmp'
/usr/local/lib/libmysqlclient_r.a(my_malloc.o): In function `my_strdup_with_length':
my_malloc.c:(.text+0x27): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(my_malloc.o): In function `my_strdup':
my_malloc.c:(.text+0x124): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(my_malloc.o): In function `my_memdup':
my_malloc.c:(.text+0x156): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(my_alloc.o): In function `memdup_root':
my_alloc.c:(.text+0x27): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(my_alloc.o): In function `strmake_root':
my_alloc.c:(.text+0x1a9): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(default.o):default.c:(.text+0x2b1): more undefined references to `_intel_fast_memcpy' follow
/usr/local/lib/libmysqlclient_r.a(ctype-latin1.o): In function `my_strnxfrm_latin1_de':
ctype-latin1.c:(.text+0x282): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(bchange.o): In function `bchange':
bchange.c:(.text+0x4f): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(my_vsnprintf.o): In function `my_vsnprintf':
my_vsnprintf.c:(.text+0x499): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(ctype.o): In function `cs_value':
ctype.c:(.text+0x2bb): undefined reference to `_intel_fast_memcpy'
ctype.c:(.text+0x332): undefined reference to `_intel_fast_memcpy'
ctype.c:(.text+0x87d): undefined reference to `_intel_fast_memcpy'
ctype.c:(.text+0x8a9): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(ctype-simple.o): In function `my_long10_to_str_8bit':
ctype-simple.c:(.text+0x35c): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(ctype-simple.o):ctype-simple.c:(.text+0x46c): more undefined references to `_intel_fast_memcpy' follow
/usr/local/lib/libmysqlclient_r.a(ctype-simple.o): In function `my_fill_8bit':
ctype-simple.c:(.text+0x4a9): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(ctype-simple.o): In function `my_strnxfrm_simple':
ctype-simple.c:(.text+0x11c2): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(ctype-bin.o): In function `my_strnncoll_8bit_bin':
ctype-bin.c:(.text+0x28): undefined reference to `_intel_fast_memcmp'
/usr/local/lib/libmysqlclient_r.a(ctype-bin.o): In function `my_strnxfrm_8bit_bin':
ctype-bin.c:(.text+0x131): undefined reference to `_intel_fast_memcpy'
ctype-bin.c:(.text+0x152): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(ctype-bin.o): In function `my_strnncoll_binary':
ctype-bin.c:(.text+0x58e): undefined reference to `_intel_fast_memcmp'
/usr/local/lib/libmysqlclient_r.a(ctype-bin.o): In function `my_strnncollsp_binary':
ctype-bin.c:(.text+0x5cc): undefined reference to `_intel_fast_memcmp'
/usr/local/lib/libmysqlclient_r.a(ctype-bin.o): In function `my_strnxfrm_bin':
ctype-bin.c:(.text+0x605): undefined reference to `_intel_fast_memcpy'
ctype-bin.c:(.text+0x623): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(ctype-big5.o): In function `my_strnxfrm_big5':
ctype-big5.c:(.text+0x6cf): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(ctype-czech.o): In function `my_strnxfrm_czech':
ctype-czech.c:(.text+0x952): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(ctype-cp932.o): In function `my_strnxfrm_cp932':
ctype-cp932.c:(.text+0x48d): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(ctype-win1250ch.o): In function `my_strnxfrm_win1250ch':
ctype-win1250ch.c:(.text+0x59c): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(ctype-utf8.o): In function `my_strnncoll_utf8':
ctype-utf8.c:(.text+0x1e8): undefined reference to `_intel_fast_memcmp'
/usr/local/lib/libmysqlclient_r.a(ctype-utf8.o): In function `my_strnncollsp_utf8':
ctype-utf8.c:(.text+0x55c): undefined reference to `_intel_fast_memcmp'
/usr/local/lib/libmysqlclient_r.a(ctype-ucs2.o): In function `my_strnxfrm_ucs2_bin':
ctype-ucs2.c:(.text+0xa9e): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(ctype-gbk.o): In function `my_strnxfrm_gbk':
ctype-gbk.c:(.text+0x434): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(ctype-sjis.o): In function `my_strnxfrm_sjis':
ctype-sjis.c:(.text+0x48d): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(ctype-tis620.o): In function `my_strnncoll_tis620':
ctype-tis620.c:(.text+0x5d): undefined reference to `_intel_fast_memcpy'
ctype-tis620.c:(.text+0x73): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(ctype-tis620.o): In function `my_strnncollsp_tis620':
ctype-tis620.c:(.text+0x316): undefined reference to `_intel_fast_memcpy'
ctype-tis620.c:(.text+0x32e): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(ctype-tis620.o): In function `my_strnxfrm_tis620':
ctype-tis620.c:(.text+0x782): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(ctype-uca.o): In function `my_wildcmp_uca':
ctype-uca.c:(.text+0x822): undefined reference to `_intel_fast_memcmp'
ctype-uca.c:(.text+0x84c): undefined reference to `_intel_fast_memcmp'
ctype-uca.c:(.text+0x883): undefined reference to `_intel_fast_memcmp'
ctype-uca.c:(.text+0xa69): undefined reference to `_intel_fast_memcmp'
ctype-uca.c:(.text+0xa8d): undefined reference to `_intel_fast_memcmp'
/usr/local/lib/libmysqlclient_r.a(ctype-uca.o):ctype-uca.c:(.text+0xaa9): more undefined references to `_intel_fast_memcmp' follow
/usr/local/lib/libmysqlclient_r.a(ctype-uca.o): In function `my_coll_init_uca':
ctype-uca.c:(.text+0x14c7): undefined reference to `_intel_fast_memcpy'
ctype-uca.c:(.text+0x15da): undefined reference to `_intel_fast_memcpy'
ctype-uca.c:(.text+0x1b40): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(xml.o): In function `my_xml_parse':
xml.c:(.text+0x27c): undefined reference to `_intel_fast_memcpy'
xml.c:(.text+0x554): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(xml.o):xml.c:(.text+0x682): more undefined references to `_intel_fast_memcpy' follow
/usr/local/lib/libmysqlclient_r.a(ctype-mb.o): In function `my_strnncoll_mb_bin':
ctype-mb.c:(.text+0x28): undefined reference to `_intel_fast_memcmp'
/usr/local/lib/libmysqlclient_r.a(ctype-mb.o): In function `my_strnxfrm_mb_bin':
ctype-mb.c:(.text+0x131): undefined reference to `_intel_fast_memcpy'
ctype-mb.c:(.text+0x152): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(ctype-mb.o): In function `my_like_range_mb':
ctype-mb.c:(.text+0x63f): undefined reference to `_intel_fast_memcpy'
ctype-mb.c:(.text+0x66c): undefined reference to `_intel_fast_memset'
/usr/local/lib/libmysqlclient_r.a(ctype-mb.o): In function `my_wildcmp_mb_bin':
ctype-mb.c:(.text+0x76b): undefined reference to `_intel_fast_memcmp'
ctype-mb.c:(.text+0x99c): undefined reference to `_intel_fast_memcmp'
/usr/local/lib/libmysqlclient_r.a(ctype-mb.o): In function `my_wildcmp_mb':
ctype-mb.c:(.text+0x1060): undefined reference to `_intel_fast_memcmp'
ctype-mb.c:(.text+0x12a9): undefined reference to `_intel_fast_memcmp'
/usr/local/lib/libmysqlclient_r.a(inflate.o): In function `inflateCopy':
inflate.c:(.text+0x14b): undefined reference to `_intel_fast_memcpy'
inflate.c:(.text+0x1d1): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(inflate.o): In function `inflateSetDictionary':
inflate.c:(.text+0x55f): undefined reference to `_intel_fast_memcpy'
inflate.c:(.text+0x5a0): undefined reference to `_intel_fast_memcpy'
inflate.c:(.text+0x5f6): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(inflate.o):inflate.c:(.text+0x624): more undefined references to `_intel_fast_memcpy' follow
/usr/local/lib/libmysqlclient_r.a(deflate.o): In function `deflate':
deflate.c:(.text+0x23b1): undefined reference to `_intel_fast_memset'
deflate.c:(.text+0x2439): undefined reference to `_intel_fast_memcpy'
deflate.c:(.text+0x2568): undefined reference to `_intel_fast_memcpy'
deflate.c:(.text+0x26a0): undefined reference to `_intel_fast_memcpy'
deflate.c:(.text+0x27f5): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(deflate.o): In function `deflateSetDictionary':
deflate.c:(.text+0x2e0b): undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libmysqlclient_r.a(deflate.o): In function `deflateReset':
deflate.c:(.text+0x2f8c): undefined reference to `_intel_fast_memset'
collect2: ld returned 1 exit status
configure: failed program was:
#line 60235 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char mysql_error();

int main() {
mysql_error()
; return 0; }
 [2009-01-05 12:05 UTC] jani@php.net
deleted huge copy'n'paste. Please keep those short. No need to paste every similar line in there..
 [2009-01-21 19:48 UTC] jani@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2009-01-29 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2009-09-16 17:22 UTC] 12985462 at qq dot com
try 
changed 10.1 path to your 11.1 path.

ln -s /opt/intel/cc/10.1.025/ /opt/intel/compiler
echo "/opt/intel/compiler/lib" > /etc/ld.so.conf.d/intel_lib.conf
ldconfig

or comiling mysql with 
'--with-mysqld-ldflags=-static-intel -static-libgcc' '--with-client-ldflags=-static-intel -static-libgcc'
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 08 20:01:36 2024 UTC