Hello, i needed your helps. I hava an amd64 cpu runing on an ubuntu server 9.04(amd64).
i have with icc 11.1 try to compiling php 5.2.9 with php-fpm 0.5.13,but i get this error.
[quote="uname -ra
Linux ubuntu 2.6.18.8-xenU #4 Sun May 3 22:35:59 CST 2009 x86_64 GNU/Linux
free -m
total used free shared buffers cached
Mem: 256 110 145 0 5 76 -/+ buffers/cache: 28 227
Swap: 1279 16 1263
gcc -v
Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.3-5ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4)
icc -V
Intel(R) C Intel(R) 64 Compiler Professional for applications running on Intel(R) 64, Version 11.1 Build 20090630 Package ID: l_cproc_p_11.1.046 Copyright (C) 1985-2009 Intel Corporation. All rights reserved. FOR NON-COMMERCIAL USE ONLY
icpc -V Intel(R) C++ Intel(R) 64 Compiler Professional for applications running on Intel(R) 64, Version 11.1 Build 20090630 Package ID: l_cproc_p_11.1.046 Copyright (C) 1985-2009 Intel Corporation. All rights reserved."]
[/quote]
compiling with:
CFLAGS='-O2 -unroll2 -ip -fp-model source -restrict -xSSE2 -use-intel-optimized-headers -opt-subscript-in-range ' CXXFLAGS='-O2 -unroll2 -ip -fp-model source -restrict -fno-implicit-templates -fno-exceptions -fno-rtti -xSSE2 -use-intel-optimized-headers -opt-subscript-in-range' ./configure --prefix=/var/webserver/php --with-config-file-path=/var/webserver/php/etc --with-mysql=/var/webserver/mysql --with-mysqli=/var/webserver/mysql/bin/mysql_config --with-curl --with-curlwrappers --enable-mbregex --with-ncurses --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-bcmath --with-mcrypt --with-mhash --with-openssl --with-gd --enable-gd-native-ttf --enable-gd-jis-conv --with-gettext --enable-mbstring --with-mime-magic --enable-shmop --enable-sysvsem --enable-inline-optimization --enable-pcntl --with-readline --with-mm --enable-sockets --enable-pcntl --with-xmlrpc --enable-wddx --with-xsl --enable-zip --enable-zend-multibyte --with-tsrm-pthreads --enable-exif --enable-ftp --without-pear --without-sqlite -disable-rpath --enable-discard-path --with-jpeg-dir=/usr/local --with-freetype-dir=/usr/local
make ZEND_EXTRA_LIBS='-liconv -ltcmalloc'
[quote="/root/working/php/php-5.2.10/sapi/cgi/fpm/fpm_atomic.h(11): remark #193: zero used for undefined preprocessing identifier \"__i386__\" #if ( __i386__ || __i386 ) ^
/root/working/php/php-5.2.10/sapi/cgi/fpm/fpm_atomic.h(11): remark #193: zero used for undefined preprocessing identifier \"__i386\" #if ( __i386__ || __i386 ) ^
/root/working/php/php-5.2.10/sapi/cgi/fpm/fpm_atomic.h(36): remark #193: zero used for undefined preprocessing identifier \"__amd64__\" #elif ( __amd64__ || __amd64 ) ^ /root/working/php/php-5.2.10/sapi/cgi/fpm/fpm_atomic.h(36): remark #193: zero used for undefined preprocessing identifier \"__amd64\" #elif ( __amd64__ || __amd64 ) ^
/root/working/php/php-5.2.10/sapi/cgi/fpm/fpm_atomic.h(62): catastrophic error: #error directive: unsupported processor. please write a patch and send it to me #error unsupported processor. please write a patch and send it to me"]
[/quote]