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

icc cannot interpret clang-generated assembly syntax

$
0
0

Hello,

I've been trying to compile Apple's Unwind library using ICC 16.0 on OSX 10.10, and icc has been complaining about "invalid instruction mnemonics" in the assembly code:

src/unw_getcontext.s:223:2: error: invalid instruction mnemonic 'li'
li r3, 0 ; return UNW_ESUCCESS
^~
src/unw_getcontext.s:223:14: error: invalid instruction mnemonic 'return'
li r3, 0 ; return UNW_ESUCCESS
^~~~~~
src/unw_getcontext.s:224:2: error: invalid instruction mnemonic 'blr'
blr

The source code in question is: http://opensource.apple.com/source/libunwind/libunwind-35.3/src/unw_getc...
In particular, due to this problem the Julia language REPL cannot be compiled in OSX using icc (see https://github.com/JuliaLang/julia/issues/9145).

Does anyone have suggestions on how to proceed? Perhaps some flag that can be passed to icc so that it accepts these commands?

Thank you very much,
Andre


Viewing all articles
Browse latest Browse all 1616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>