Hi icc developers and users!
I use a cluster with different versions of Intel Compiler installed. The latest one is 14.0.1. I also have to use custom installation of gcc 4.7.2 (by pointing PATH variable to its installation path) because of old system version.
I use Cmake to build my program, and when I use my customly installed gcc 4.7.2 it builds it fine, without any errors. But when I use ICC it causes such a linking error:
function_opts_descr.cpp:(.text+0x257): undefined reference to `__builtin_signbit' function_opts_descr.cpp:(.text+0x2a8): undefined reference to `__builtin_signbit'
function_opts_descr.cpp is a file in which boost/program_options.hpp is included. Unfortunatelly, I cannot narrow the code to minimal one.
I tried to build the code with different versions of boost (from 1.44 to 1.55), built with icc and gcc 4.7.2 - the results is the same. std=c++11 is used during compilation.
And I am not sure that the reason of such behaviour is the Boost, but I have come across several posts about problems with icc and boost and a lot of them are about bugs in icc... Unfortunatelly, I have to use icc because of compilation for Xeon Phi.
Maybe anybody knows a way of solving this problem?
Thank you!