On 06/15/2011 09:54 AM, Marcin Juszkiewicz wrote:
> 09:45< ramana> hrw: there is no MCR in Thumb1
>
> So add "-marm" into CFLAGS in Makefile and it will build.
>
Ok, thanks for the quick reply. I took my a while to understand what
this meant though. My conclusion is that this version of gcc is
09:45 < ramana> hrw: there is no MCR in Thumb1
So add "-marm" into CFLAGS in Makefile and it will build.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/797418
Title:
Fails to compile inline assembly
The mcr instruction cannot be used in Thumb1 which is what -mthumb
-mcpu=arm926ej-s forces you to do.
-marm will allow you to do so since it forces the instructions to be in
ARM state.
cheers
Ramana
** Changed in: gcc-4.5-armel-cross (Ubuntu)
Status: New => Invalid
--
You received this
Adding -marm (forcing ARM mode instead of Thumb) allowed me to compile
at91bootstrap.
Subscribed Linaro Toolchain WG.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/797418
Title:
Fails to compile in
** Attachment added: "Small testcase, inline.c"
https://bugs.launchpad.net/bugs/797418/+attachment/2168941/+files/inline.c
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/797418
Title:
Fails to com