This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: arm/thumb broken on head
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Joel Sherrill <joel dot sherrill at oarcorp dot com>, GCC Mailing List <gcc at gcc dot gnu dot org>
- Cc: Terry Guo <Terry dot Guo at arm dot com>
- Date: Mon, 10 Nov 2014 17:08:17 +0000
- Subject: Re: arm/thumb broken on head
- Authentication-results: sourceware.org; auth=none
- References: <5460D90C dot 3020106 at oarcorp dot com>
On 10/11/14 15:26, Joel Sherrill wrote:
> Hi
>
> With gcc, newlib, and binutils head, arm-rtems and arm-eabi both
> die building libgcc2.c for the Thumb. I don't know if this is a recent
> gcc change or binutils having added some new error checking. Anyone
> got any ideas?
>
> /users/joel/test-gcc/b-arm-eabi-gcc/./gcc/xgcc
> -B/users/joel/test-gcc/b-arm-eabi-gcc/./gcc/ -nostdinc
> -B/users/joel/test-gcc/b-arm-eabi-gcc/arm-eabi/newlib/ -isystem
> /users/joel/test-gcc/b-arm-eabi-gcc/arm-eabi/newlib/targ-include
> -isystem /users/joel/test-gcc/gcc/newlib/libc/include
> -B/users/joel/test-gcc/b-arm-eabi-gcc/arm-eabi/libgloss/arm
> -L/users/joel/test-gcc/b-arm-eabi-gcc/arm-eabi/libgloss/libnosys
> -L/users/joel/test-gcc/gcc/libgloss/arm
> -B/users/joel/test-gcc/install-head/arm-eabi/bin/
> -B/users/joel/test-gcc/install-head/arm-eabi/lib/ -isystem
> /users/joel/test-gcc/install-head/arm-eabi/include -isystem
> /users/joel/test-gcc/install-head/arm-eabi/sys-include -g -O2 -mthumb
> -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall
> -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes
> -Wmissing-prototypes -Wold-style-definition -isystem ./include
> -fno-inline -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector
> -Dinhibit_libc -fno-inline -I. -I. -I../../.././gcc
> -I../../../../gcc/libgcc -I../../../../gcc/libgcc/.
> -I../../../../gcc/libgcc/../gcc -I../../../../gcc/libgcc/../include
> -DHAVE_CC_TLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep
> -DL_muldi3 -c ../../../../gcc/libgcc/libgcc2.c -fvisibility=hidden
> -DHIDE_EXPORTS
> /tmp/cc9EfnXy.s: Assembler messages:
> /tmp/cc9EfnXy.s:69: Error: MOV Rd, Rs with two low registers is not
> permitted on this architecture -- `mov r6,r7'
>
This is most likely fallout from the migration of thumb1 assembly to
unified syntax. Terry, if this hasn't already been sorted can you take
a look?
R.