在Centos 7中使用英特尔C ++编译器15.0构建Boost 1.59

时间:2015-08-18 11:25:28

标签: c++ linux boost centos7 icc

我正在尝试使用Centos 7中的英特尔C ++编译器15.0构建Boost 1.59。我正在使用以下命令。

./bootstrap.sh --without-libraries=mpi,python
./b2 toolset=intel-15.0 address-model=64 cxxflags="-std=c++11" --layout=versioned link=static variant=debug,release

我在构建Boost.Log时遇到以下错误。能否请你帮忙?我尝试使用GCC 4.8进行编译,但它确实有效。这是英特尔C ++编译器中的错误吗?

intel-linux.compile.c++ bin.v2/libs/log/build/intel-linux-15.0/debug/link-static/log-api-unix/threading-multi/default_filter_factory.o
./boost/fusion/algorithm/query/detail/find_if.hpp(208): internal error: assertion failed at: "shared/cfe/edgcpfe/lower_il.c", line 18968

              return recursive_call(iter, found());
              ^

compilation aborted for libs/log/src/default_filter_factory.cpp (code 4)

"icpc" -c -xc++ -O0 -g -w1 -inline-level=0 -pthread -m64 -fvisibility=hidden -std=c++11 -wd177,780,2196,1782,193,304,981,1418,411,734,279 -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_STATIC_LINK=1 -DBOOST_FILESYSTEM_STATIC_LINK=1 -DBOOST_LOG_SETUP_BUILDING_THE_LIB=1 -DBOOST_LOG_USE_AVX2 -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_USE_SSSE3 -DBOOST_LOG_WITHOUT_EVENT_LOG -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_SYSTEM_STATIC_LINK=1 -DBOOST_THREAD_BUILD_LIB=1 -DBOOST_THREAD_DONT_USE_CHRONO=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -DDATE_TIME_INLINE -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=600 -I"."   -c -o "bin.v2/libs/log/build/intel-linux-15.0/debug/link-static/log-api-unix/threading-multi/default_filter_factory.o" "libs/log/src/default_filter_factory.cpp"

...failed intel-linux.compile.c++ bin.v2/libs/log/build/intel-linux-15.0/debug/link-static/log-api-unix/threading-multi/default_filter_factory.o...
intel-linux.compile.c++ bin.v2/libs/log/build/intel-linux-15.0/debug/link-static/log-api-unix/threading-multi/matches_relation_factory.o
./boost/fusion/algorithm/query/detail/find_if.hpp(208): internal error: assertion failed at: "shared/cfe/edgcpfe/lower_il.c", line 18968

              return recursive_call(iter, found());
              ^

compilation aborted for libs/log/src/matches_relation_factory.cpp (code 4)

0 个答案:

没有答案