[Boost-bugs] [Boost C++ Libraries] #10132: libs/log/build/Jamfile.v2 contains incorrect options for intel compiler

Subject: [Boost-bugs] [Boost C++ Libraries] #10132: libs/log/build/Jamfile.v2 contains incorrect options for intel compiler
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-06-18 10:59:46


#10132: libs/log/build/Jamfile.v2 contains incorrect options for intel compiler
---------------------------------------------------+---------------------
 Reporter: Elmira Semenova <elmira.a.semenova@…> | Owner: andysem
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: log
  Version: Boost 1.55.0 | Severity: Problem
 Keywords: |
---------------------------------------------------+---------------------
 libs/log/build/Jamfile.v2 contains incorrect options "/QxAVX2" and
 â€œ-mavx2” for Intel Windows and Linux compilers.
 Correct Intel compiler options are /QxCORE-AVX2 (Windows OS) and -xCORE-
 AVX2 (Linux OS and Mac OS X).

 # cat libs/log/build/Jamfile.v2
    254 else if <toolset>intel in $(properties)
    255 {
    256 if <toolset-intel:platform>win in $(properties)
    257 {
    258 result = <cxxflags>"/QxAVX2" ;
    259 }
    260 else
    261 {
    262 result = <cxxflags>"-march=core-avx2 -mavx
 -mavx2 -fabi-version=0" ;
    263 }
    264 }
    265 else if <toolset>msvc in $(properties)
    266 {
    267 result = <cxxflags>"/arch:AVX" ;
    268 }
    269 }


 icl.exe /nologo -Fo"bin.v2/libs/log/config/x86-ext/intel-win/debug/pch-
 off/avx2.obj" -TP /Z7 /Od /Ob0 /W3 /GR /MDd /Zc:forScope /Zc:wchar_t /Qwn5
 /Qwd985 -Qoption,c,--arg_dep_lookup -D_SECURE_SCL=0 -Qoption,cpp,--
 arg_dep_lookup -Qpchi- /wd4675 /EHs /QxAVX2 -c -DBOOST_ALL_NO_LIB=1 "-I."
 -Qvc10 "libs/log/config/x86-ext/avx2.cpp"
 icl: command line error: Unrecognized keyword 'AVX2' for option '/Qx'

 On Linux:
 icpc -c -xc++ -O0 -g -w1 -inline-level=0 -pthread -fPIC -march=core-avx2
 -mavx -mavx2 -fabi-version=0 -DBOOST_ALL_NO_LIB=1
 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_DATE_TIME_DYN_LINK=1
 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_LOG_BUILDING_THE_LIB=1
 -DBOOST_LOG_DLL -DBOOST_LOG_USE_NATIVE_SYSLOG
 -DBOOST_LOG_WITHOUT_EVENT_LOG -DBOOST_SPIRIT_USE_PHOENIX_V3=1
 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED
 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_DONT_USE_CHRONO=1
 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -DDATE_TIME_INLINE
 -I../../.. -c -o ../../../bin.v2/libs/log/build/intel-linux/debug/address-
 model-64/log-api-unix/threading-multi/dump_avx2.o
 ../../../libs/log/src/dump_avx2.cpp
 icpc: command line warning #10120: overriding '-march=core-avx2' with
 '-mavx'
 icpc: command line warning #10353: option '-mavx2' ignored, suggest using
 '-march=core-avx2'

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10132>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC