(0): internal error: 0_2040
icpc: error #10014: problem during multi-file optimization compilation (code 4)
Could anyone suggest what it means? Thanks!
Cool - I've just upgraded the compiler and already hit a bug :)
Unfortunately, I can't share the code; nor could I reproduce the error using some synthetic sources and similar compilation options.
All I can tell is that the compilation was done on a set of static libraries that were passed to the compiler as just object files to trigger IPO across them - if I just try to link them as static libraries, the compiler says that no IPO is going to be performed as there're no object files.
Some libraries have circular dependencies, therefore the static library list was surrounded by -Wl,--start-group ... -Wl,--end-group options to avoid errors from GCC (the same project is compiled with GCC as well).Looks likethese linker options trigger the error - if Iremove themfrom the icpc command line parameters list, icpc doesn't report any internal error (just complains about unresolved symbols).