We were using icpc XE 2013 on Fedora 17 (integrated with GCC 4.7.2) as our main dev environment for some projects, utilizing C++11 features. Lately, we had to switch to RHEL 6.3 that is accompanied with GCC 4.4.2 (which does not support the C++11 features we are using), so we had to install a chrooted GCC 4.7.2, and link the icpc to it using -cxxlib=dir compiler option.
However, we get linking errors when compiling, like e.g.: undefined reference to `std::placeholders::_1' or undefined reference to `std::string::operator=(std::string&&)'. Yet, when compiling the same project using the chrooted g++ (4.7.2), it is compiled correctly.
Any idea what's going wrong here?