Compile with icc compiler howto

Igor Sysoev is at rambler-co.ru
Tue Feb 22 16:17:29 MSK 2005


On Tue, 22 Feb 2005, Igor Sysoev wrote:

> On Tue, 22 Feb 2005, Denis O.Philippov wrote:
>
>> Патч помог, спасибо.
>> Но видимо всё равно не судьба мне потому что при окончательной сборке 
>> бинарника происходит вот что:
>
>> IPO: using IR for objs/src/http/ngx_http_parse.o
>> icc: error: Fatal error in /opt/intel_cc_80/bin/mcpcom, terminated by 
>> segmentation violation
>> icc: error: problem during multi-file optimization compilation (code 1)
>> icc: error: empty multi-file optimizations object list
>> make[1]: *** [objs/nginx] Ошибка 1
>> make[1]: Leaving directory `/root/nginx/nginx-0.1.20'
>> make: *** [build] Ошибка 2
>> 
>> # icc -v
>> Version 8.0
>
> А что показывает "icc -V" ?
>
> У меня
> Intel(R) C++ Compiler for 32-bit applications, Version 8.0   Build 20031016Z 
> Package ID: l_cc_p_8.0.055
>
> тоже падает в этом же месте. А
>
> Intel(R) C++ Compiler for 32-bit applications, Version 7.1   Build 20030307Z
>
> и
>
> Intel(R) C++ Compiler for 32-bit applications, Version 8.1    Build 20041019Z 
> Package ID: l_cc_pu_8.1.024
>
> собирают без проблем.
>
> Можно поставить l_cc_pu_8.1.024.
>
> Ещё можно в файле auto/cc/icc попробовать поставить IPO="-ip" или же
> убрать IPO совсем:
> --------
> # single-file IP optimizations
> #IPO="-ip"
> # multi-file IP optimizations
> IPO="-ipo -ipo_obj"
> --------

Сейчас попробовал, l_cc_p_8.0.055 собрал с IPO="-ip":
--------
# single-file IP optimizations
IPO="-ip"
# multi-file IP optimizations
#IPO="-ipo -ipo_obj"
--------


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





More information about the nginx-ru mailing list