curl-7.32.0 package contains incorrect  icc options in configure file
./configure CC=icc CXX=icpc
. . .

cc-fail: icc: command line warning #10155: ignoring option '-we'; argument 
required
cc-fail: icc: error #10236: File not found:  '140,147,165,266'
cc-fail: icc: command line warning #10155: ignoring option '-wd'; argument 
required
cc-fail: icc: error #10236: File not found:  '279,981,1469'

configure: WARNING: compiler options rejected: -std=gnu89 -we 140,147,165,266 
-wd 279,981,1469

The latest version(s) of the icc compiler no longer accept the extra space in 
the -we (warning enable), -wd (warning disable), etc.

Changing it to "-we140,147,165,266 -wd279,981,1469" (without spaces) or  
"-diag-enable 140,147,165,266 -diag-disable 279,981,1469" should resolve it.

diff configure configure.new
16729,16730c16729,16730
<                                                 tmp_CPPFLAGS="$tmp_CPPFLAGS 
-we 140,147,165,266"
<                                         tmp_CPPFLAGS="$tmp_CPPFLAGS -wd 
279,981,1469"
---
>                                                 tmp_CPPFLAGS="$tmp_CPPFLAGS 
> -we140,147,165,266"
>                                         tmp_CPPFLAGS="$tmp_CPPFLAGS 
> -wd279,981,1469"


Configuring for gcc and then building with icc should work, but users should be 
able configuring with icc.


Thanks,
Elmira

--------------------------------------------------------------------
Closed Joint Stock Company Intel A/O
Registered legal address: Krylatsky Hills Business Park, 
17 Krylatskaya Str., Bldg 4, Moscow 121614, 
Russian Federation

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to