Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

I don't understand 'm' flag!

$
0
0

Trying to compile Boost with icc (from composer XE 2013 SP 1.2.139) using the -x assembler-with-cpp flag and getting the following error...

$     "icc" -x assembler-with-cpp -O3 -xHost   -inline-level=2 -vec-report0 -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I"." -c -o "osx-build/boost/bin.v2/libs/context/build/intel-darwin-linux/release/link-static/threading-multi/asm/jump_x86_64_sysv_macho_gas.o""libs/context/src/asm/jump_x86_64_sysv_macho_gas.S"
<built-in>:167:9: warning: '__PIC__' macro redefined
#define __PIC__ 1
        ^
<built-in>:126:9: note: previous definition is here
#define __PIC__ 2
        ^
1 warning generated.
FATAL:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../libexec/as/x86_64/as: I don't understand 'm' flag!

Seems like icc is calling the assembler incorrectly.

 

Any ideas?

 


Viewing all articles
Browse latest Browse all 1616

Trending Articles