This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Bootstrap fails on HEAD 4.1 for AVR


Hi,

when checking out the gcc tree this morning for a clean rebuild and regular 
testsuite run, I observed that bootstrap failed. It seems that it is related 
to some preprocessor issue:

1.) Problem occures when assembling the libgcc library. First failing 
operation is

/home/bmh/gnucvs/head/build/./gcc/xgcc -B/home/bmh/gnucvs/head/build/./gcc/ 
-B/usr/local/avr/bin/ -B/usr/local/avr/lib/ -isystem /usr/local/avr/include 
-isystem /usr/local/avr/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wold-style-definition  -isystem ./include  -DDF=SF -Dinhibit_libc 
-mcall-prologues -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. 
-I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include 
-I../../gcc/gcc/../libcpp/include  -DL_mulqi3 -xassembler-with-cpp 
-c ../../gcc/gcc/config/avr/libgcc.S -c libgcc/./_mulqi3.o

and the error message reads

../../gcc/gcc/config/avr/libgcc.S: Assembler messages:
../../gcc/gcc/config/avr/libgcc.S:72: Error: suffix or operands invalid for 
`clr'
../../gcc/gcc/config/avr/libgcc.S:72: Error: no such instruction: `clear 
result'
../../gcc/gcc/config/avr/libgcc.S:74: Error: no such instruction: `sbrc r24,0'
../../gcc/gcc/config/avr/libgcc.S:75: Error: too many memory references for 
`add'
../../gcc/gcc/config/avr/libgcc.S:76: Error: too many memory references for 
`add'
../../gcc/gcc/config/avr/libgcc.S:76: Error: no such instruction: `shift 
multiplicand'
../../gcc/gcc/config/avr/libgcc.S:77: Error: no such instruction: `breq 
__mulqi3_exit'
../../gcc/gcc/config/avr/libgcc.S:77: Error: no such instruction: `while 
multiplicand!=0'
../../gcc/gcc/config/avr/libgcc.S:78: Error: no such instruction: `lsr r24'
../../gcc/gcc/config/avr/libgcc.S:79: Error: no such instruction: `brne 
__mulqi3_loop'
../../gcc/gcc/config/avr/libgcc.S:79: Error: no such instruction: `exit if 
multiplier=0'
../../gcc/gcc/config/avr/libgcc.S:81: Error: too many memory references for 
`mov'
../../gcc/gcc/config/avr/libgcc.S:81: Error: no such instruction: `result to 
return register'
make[2]: *** [libgcc/./_mulqi3.o] Fehler 1
make[1]: *** [stmp-multilib] Fehler 2
make: *** [all-gcc] Fehler 2

2.) My impression is that the problem is possibly related to some preprocessor 
issue because when executing

/home/bmh/gnucvs/head/build/./gcc/xgcc -B/home/bmh/gnucvs/head/build/./gcc/ 
-B/usr/local/avr/bin/ -B/usr/local/avr/lib/ -isystem /usr/local/avr/include 
-isystem /usr/local/avr/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wold-style-definition  -isystem ./include  -DDF=SF -Dinhibit_libc 
-mcall-prologues -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. 
-I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include 
-I../../gcc/gcc/../libcpp/include  -DL_mulqi3 -xassembler-with-cpp 
-c ../../gcc/gcc/config/avr/libgcc.S -c libgcc/./_mulqi3.s

in order to have a look at the assembly output, no file _mulqi3.s is 
generated. Instead the output of the preprocessor is written to stdout.

Yours,

Björn


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]