icc и 0.1.33: "cc" clobber ignored

Igor Sysoev is at rambler-co.ru
Wed May 25 22:10:01 MSD 2005


On Wed, 25 May 2005, Alexey Bestciokov wrote:

> /opt/intel_cc_80/bin/icc -c -O -Ob2 -ipo -ipo_obj -march=pentium4 -w2 -wd171 -wd181 -wd193 -wd269 -wd810 -wd869 -wd188 -wd279 -wd981 -wd1418 -wd1419 -Werror -g -O2 -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/local/src/pcre-5.0/ -I /usr/local/src/zlib-1.2.2/ -I objs \
>        -o objs/src/core/ngx_inet.o \
>        src/core/ngx_inet.c
> src/core/ngx_inet.c(278): error #1469: "cc" clobber ignored
>      u->port = htons(u->port);
>                ^
>
> compilation aborted for src/core/ngx_inet.c (code 2)
>
>
> ~>icc -V
> Intel(R) C Compiler for 32-bit applications, Version 8.1    Build 20050406Z Package ID: <installpackageid>
> Copyright (C) 1985-2005 Intel Corporation.  All rights reserved.
>
> ./configure --user=www-data --group=www-data
> --http-log-path=/var/log/nginx/access.log  --prefix=/usr/local
> --error-log-path=/var/log/nginx/error.log
> --conf-path=/etc/nginx/nginx.conf --pid-path=/var/run/nginx.pid
> --http-client-body-temp-path=/var/tmp/nginx/client
> --http-proxy-temp-path=/var/tmp/nginx/proxy
> --http-fastcgi-temp-path=/var/tmp/nginx/fcgi --with-debug
> --with-http_stub_status_module --with-pcre=/usr/local/src/pcre-5.0/
> --with-zlib=/usr/local/src/zlib-1.2.2/ --with-zlib-asm=pentium
> --with-cpu-opt=pentium4 --with-cc=/opt/intel_cc_80/bin/icc
> --with-cc-opt="-O2" --with-pcre-opt="-O2" --with-zlib-opt="-O2"

Нужно в auto/cc/icc ближе к концу добвать

CFLAGS="$CFLAGS -wd1469"


Игорь Сысоев
http://sysoev.ru





More information about the nginx-ru mailing list