> -----Original Message----- > From: Richard Earnshaw > Sent: Tuesday, November 11, 2014 1:08 AM > To: Joel Sherrill; GCC Mailing List > Cc: Terry Guo > Subject: Re: arm/thumb broken on head > > 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.
Sorry for troubles. Indeed this is caused my recent Thumb-1 UAL patch. Some 'mov' instructions require special treatment. I am working on a patch. BR, Terry