[cfe-dev] clang cannot compile ARM assembly in libcxxabi/src/Unwind ?
İsmail Dönmez
ismail at donmez.ws
Mon Aug 4 02:50:42 PDT 2014
Hi,
Trying to compile libcxxabi on ARM/Linux with clang ToT, I get:
cd /home/ismail/libcxxabi/build/src/Unwind && /havana/dist/llvm/bin/clang
-D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS -fPIC -Werror=date-time -ffunction-sections
-fdata-sections -I/home/ismail/libcxxabi/include
-I/home/ismail/libcxx/include -UNDEBUG -fPIC -o
CMakeFiles/unwind.dir/UnwindRegistersRestore.S.o -c
/home/ismail/libcxxabi/src/Unwind/UnwindRegistersRestore.S
/home/ismail/libcxxabi/src/Unwind/UnwindRegistersRestore.S:350:24: error:
unknown token in expression
ldc p11, cr0, [r0], {#0x20} @ fldmiad r0, {d0-d15}
^
/home/ismail/libcxxabi/src/Unwind/UnwindRegistersRestore.S:350:24: error:
illegal expression
ldc p11, cr0, [r0], {#0x20} @ fldmiad r0, {d0-d15}
^
/home/ismail/libcxxabi/src/Unwind/UnwindRegistersRestore.S:361:24: error:
unknown token in expression
ldc p11, cr0, [r0], {#0x21} @ fldmiax r0, {d0-d15}
^
/home/ismail/libcxxabi/src/Unwind/UnwindRegistersRestore.S:361:24: error:
illegal expression
ldc p11, cr0, [r0], {#0x21} @ fldmiax r0, {d0-d15}
^
/home/ismail/libcxxabi/src/Unwind/UnwindRegistersRestore.S:372:25: error:
unknown token in expression
ldcl p11, cr0, [r0], {#0x20} @ vldm r0, {d16-d31}
^
/home/ismail/libcxxabi/src/Unwind/UnwindRegistersRestore.S:372:25: error:
illegal expression
ldcl p11, cr0, [r0], {#0x20} @ vldm r0, {d16-d31}
^
This works with the gnu as (tested using -no-integrated-as). Is this a
known problem?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140804/df4bdcbc/attachment.html>
More information about the cfe-dev
mailing list