[cfe-dev] clang cannot compile ARM assembly in libcxxabi/src/Unwind ?

Dan Albert danalbert at google.com
Mon Aug 4 09:05:50 PDT 2014


Could
https://github.com/llvm-mirror/libcxxabi/commit/a09f807da45a4f699c6b63542ef2d169ff278539
be related?


On Mon, Aug 4, 2014 at 5:41 AM, Renato Golin <renato.golin at linaro.org>
wrote:

> Hi Ismail,
>
> Don't remember to have seen this one before. Please fill a bug with
> this, make it a dependency for 18926 and assign to me, I'll have a
> look.
>
> cheers,
> --renato
>
> On 4 August 2014 10:50, İsmail Dönmez <ismail at donmez.ws> wrote:
> > 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!
> >
> >
> > _______________________________________________
> > cfe-dev mailing list
> > cfe-dev at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
> >
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140804/d8ae1c31/attachment.html>


More information about the cfe-dev mailing list