curl-library
Re: ICC autobuilds and rejected compiler options
Date: Thu, 9 Oct 2008 17:00:23 +0200
Hi Yang,
On Thu, Oct 9, 2008 at 16:37, Yang Tse <yangsita_at_gmail.com> wrote:
> Hi Tor,
>
> Some fun on the icc autobuilds. Trying to fix it from here would mean
> several days of autobuild runs and many test commits to CVS.
BTW, I'm sorry I've been unable to assist in this for quite a while,
it's been (and still is) very busy with customer deliveries in my day
job. It'll get better soon though.
> icc 9.0 and 9.1 accept the following set of basic compiler options,
> but icc 10 is rejecting them probably due to a compiler warning
> relative to a deprecated option or something:
>
> "-no-ansi-alias -fp-model precise -std=gnu89 -we 140,147,165,266 -wd
> 279,981,1469"
>
> Compiling a dumb program with above options with icc 10 should be
> enough to find out which one is the offending option.
I've tried the above options with icc 9.0, 9.1 and 10.0, all of the
compilers accept it fine:
/opt/intel/compiler_100_026/bin/icc -no-ansi-alias -fp-model precise
-std=gnu89 -we 140,147,165,266 -wd 279,981,1469 -o hello hello.c
echo $?
0
./hello
Hello
> It is also required to perform a similar compilation test on icc 9.0
> using the following two sets of options:
>
> "-no-ansi-alias -fp-model precise -std=gnu89 -we 140,147,165,266 -wd
> 279,981,1469 -g"
> "-no-ansi-alias -fp-model precise -std=gnu89 -we 140,147,165,266 -wd
> 279,981,1469 -O0"
That works fine too:
/opt/intel/compiler_90_031/bin/icc -no-ansi-alias -fp-model precise
-std=gnu89 -we 140,147,165,266 -wd 279,981,1469 -g -o hello hello.c
./hello
Hello
/opt/intel/compiler_90_031/bin/icc -no-ansi-alias -fp-model precise
-std=gnu89 -we 140,147,165,266 -wd 279,981,1469 -O0 -o hello hello.c
./hello
Hello
-Tor
Received on 2008-10-09