Mikulas Patocka <[EMAIL PROTECTED]> writes:

Intel compiler's interprocedural optimizations (-ipo) optimizes this
out even though the symbol is unknown.

Wonderful.  (:-)

I installed the following patch to try to catch this.

The compilation gets a bit further with the patch, but it still doesn't work --- this time it is problem of intel compiler --- it can't extract its intercode from *.a files.

You can modify libtool so that when it is creating static library and compiler is "icc" or "icpc" (or "some/path/icc" or "some/path/icpc"), it passes it -no-ipo switch. (dynamic libraries work fine with -ipo).

Mikulas


Reply via email to