Hi,
There seems to be an issue with multi-file optimisation (-ipo), resulting in the error:
error #10014: problem during multi-file optimization compilation (code 4)
...during the linking of the two files in the attachment, with:
icpc -Wl,--whole-archive libutil.a libgnu.a -Wl,--no-whole-archive -o liboctave.so.2.0.0
However when linking with multi-file optimisation disabled using -no-ipo flag:
icpc -Wl,--whole-archive libutil.a libgnu.a -Wl,--no-whole-archive -no-ipo -o liboctave.so.2.0.0
...the issue does not occur (the linking fails nonetheless, irrelevantly, due to missing libraries - this can be ignored).
How would one go about troubleshooting or debugging this optimisation issue? I would like to know what is going wrong here and why exactly does the optimisation fail. Is this caused by something in the .a files or is it a compiler/linker bug?
I'm currently using the following version: icpc (ICC) 14.0.2 20140120
Thanks in Advance
Cheers
Faruk