/home/sam/tmp/gcc-avr/./gcc/xgcc -B/home/sam/tmp/gcc-avr/./gcc/
-B/home/sam/local/i386-linux/avr/bin/ -B/home/sam/local/i386-linux/avr/lib/
-isystem /home/sam/local/i386-linux/avr/include -isystem
/home/sam/local/i386-linux/avr/sys-include -g -O2 -mmcu=avr31 -O2  -g -O2
-DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem
./include  -DDF=SF -Dinhibit_libc -mcall-prologues -Os -g  -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc  -I. -I. -I../../.././gcc
-I/home/sam/Dev/gcc/libgcc -I/home/sam/Dev/gcc/libgcc/.
-I/home/sam/Dev/gcc/libgcc/../gcc -I/home/sam/Dev/gcc/libgcc/../include 
-DHAVE_CC_TLS -o _copy_data.o -MT _copy_data.o -MD -MP -MF _copy_data.dep
-DL_copy_data -xassembler-with-cpp \
          -c /home/sam/Dev/gcc/libgcc/../gcc/config/avr/libgcc.S

/home/sam/Dev/gcc/libgcc/../gcc/config/avr/libgcc.S: Assembler messages:
/home/sam/Dev/gcc/libgcc/../gcc/config/avr/libgcc.S:736: Error: illegal opcode
elpm for mcu avr3

I'm using the latest binutils from CVS.

gcc knows that elmp is valid for avr31 and calls "as" with -mmcu=avr3, making
as reject it. Looks awfully like PR #35073 with another opcode.


-- 
           Summary: Cannot compile libgcc.S on avr
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sam at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: avr


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35936

Reply via email to