internal error assertion failed

internal error assertion failed

Sirs,

I know the '/v' is not a valid compiler option, but when I try to use it, I got the following error messages:

icl /v

Intel(R) C++ Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.1.3.198 Build 20130607
Copyright (C) 1985-2013 Intel Corporation. All rights reserved.
icl: command line warning #10006: ignoring unknown option '/v'

icl: internal error: Assertion failed (shared/driver/driver.c, line 370)

--------------------------------------------------------
Windows 7 64 bit Home Premium
Intel i5-2400 CPU

Steven T.

 

 

 

 

 

 

12 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Thanks for reporting this issue!

I checked with 13.0 update5, it does have this issue. But with the 14.0 beta update it works fine. We will be only fixing high bugs for 13.x now, so I will not file any ticket for this one against 13.x.

thanks,
Jennifer

>>...icl: internal error: Assertion failed (shared/driver/driver.c, line 370)

I did a quick verification with version 12 and I confirm that the problem is version 13 specific.

..\Composer XE 2011 SP1>icl.exe /v
Intel(R) C++ Compiler XE for applications running on IA-32, Version 12.1.7.371 Build 20120928
Copyright (C) 1985-2012 Intel Corporation. All rights reserved.
icl: command line warning #10006: ignoring unknown option '/v'

icl: command line error: no files specified; for help type "icl /help"

..\Composer XE 2011 SP1>icl.exe -v
Intel(R) C++ Compiler XE for applications running on IA-32, Version 12.1.7.371 Build 20120928
Copyright (C) 1985-2012 Intel Corporation. All rights reserved.
icl: command line warning #10006: ignoring unknown option '/v'

icl: command line error: no files specified; for help type "icl /help"

I didn't have any 'Assertion failed' messages.

Under a Linux-like environment for Windows, most of program need the usual configure, make, make install to get it running. Using Intel(R) C++ Intel(R) 64 Compiler XE 2013 under cygwin, I am trying to compile a program by first doing

./configure

I got the following error message : checking whether the C compiler works ... no
                                                   configure: error: C compiler cannot create executables
                                                   See 'config.log' for more details

Of course, looking at config.log, the error message is the same as Steven T.: 

icl: command line warning #10006: ignoring unknown option '/-version'
icl: internal error: Assertion failed <shared/driver/driver.c, line 370>

So although it is a minor error, I cannot compile some programs that need to check the version of my C compiler during the configure process. Is there a simple way to fix this problem instead of waiting the 14.0 version ? 

Thank you,

Stephane L.

Stephane, Thanks for the information. If you really want to see the issue is resolved create a complete test-case ( with all additional files, etc / I mean configuration files ) and upload it.

Thank you !

Sergey,

   This is the test case the autoconf tools use for "checking for C compiler version" :

$CC --version

Where $CC is the compiler command (e.g. icc, icl, gcc) and in Stephane's case on windows it is using /-version rather than --version.

   This is the test case the autoconf tools use for the "checking whether the C compiler works"

 int
 main ()
 {
 ;
 return 0;
 }

As per the OP, the testcase that is causing Stephane's autoconf to fail is likely the invocation of "icl /-version", which is your minimal reproducer testcase.

>>int
>>main ()
>>{
>>;
>>return 0;
>>}

Thanks, Casey. Did you put ; in the main function accidently or it is just the typo?

No typo.  It looks a bit odd, but that is what autotools uses to test that the C compiler can produce executables.

Stephane, 

    Try compiling the testcase in my post a few posts above yours (the same one Sergey quoted) or a simple hello-world.  Post your icl command line and the output of the compilation.  

>>...See `config.log' for more details

Please upload it. Thanks.

This might be a longshot and I'm not too familiar with cygwin.  Configure is likely using a temp directory to compile its tests (e.g /tmp on linux), and you may either not have that setup or may not have write permissions to it.  Again, that might be a longshot but its worth looking at.

Leave a Comment

Please sign in to add a comment. Not a member? Join today