when I compile gcc 3.3.5 for target 'avr' i get the following error: 
 
libgcc2.c:731: error: insn does not satisfy its constraints: 
 
FULL LISTING: 
  
make[2]: Entering directory `/root/avr/gcc-3.3.5/gcc' 
for d in libgcc avr3 libgcc/avr3 avr4 libgcc/avr4 avr5 libgcc/avr5; do \ 
  if [ -d $d ]; then true; else /bin/sh ./mkinstalldirs $d; fi; \ 
done 
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi 
/root/avr/gcc-3.3.5/gcc/xgcc -B/root/avr/gcc-3.3.5/gcc/ 
-B/usr/local/avr/avr/bin/ -B/usr/local/avr/avr/lib/ 
-isystem /usr/local/avr/avr/include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  
-DDF=SF -Dinhibit_libc -mcall-prologues -g  -DIN_LIBGCC2 
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I. -I./. -I./config 
-I./../include  -DL_udivmoddi4 -c ./libgcc2.c -fexceptions 
-fnon-call-exceptions -o libgcc/./_udivmoddi4.o 
libgcc2.c: In function `__udivmoddi4': 
libgcc2.c:731: error: insn does not satisfy its constraints: 
(insn 1006 1005 1007 0x4018b604 (set (mem:QI (plus:HI (reg:HI 26 r26 [30]) 
                (const_int 1 [0x1])) [2 S1 A8]) 
        (reg:QI 24 r24 [268])) 9 {*movqi} (insn_list 1005 (insn_list 1435 
(nil))) 
    (expr_list:REG_DEAD (reg:QI 24 r24 [268]) 
        (nil))) 
libgcc2.c:731: internal compiler error: in extract_constrain_insn_cached, at 
recog.c:2090 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <URL:http://gcc.gnu.org/bugs.html> for instructions. 
make[2]: *** [libgcc/./_udivmoddi4.o] Error 1 
make[2]: Leaving directory `/root/avr/gcc-3.3.5/gcc' 
make[1]: *** [stmp-multilib] Error 2 
make[1]: Leaving directory `/root/avr/gcc-3.3.5/gcc' 
make: *** [all-gcc] Error 2 
 
building version of gcc: 
[EMAIL PROTECTED]:~/avr/gcc-3.3.5# gcc -v 
Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.5/specs 
Configured with: ../gcc-3.3.5/configure --prefix=/usr --enable-shared 
--enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld 
--verbose --target=i486-slackware-linux --host=i486-slackware-linux 
Thread model: posix 
gcc version 3.3.5

-- 
           Summary: error when building gcc-3.3.5 for target avr
           Product: gcc
           Version: 3.3.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kimjohan at postmark dot net
                CC: gcc-bugs at gcc dot gnu dot org


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

Reply via email to