Hi, I was building a AVR cross compiler from current GCC trunk, and got an error. Build system was Ubuntu 6.06 on an Athlon, using the latest from CVS binutils but otherwise configured exactly as shown in
http://www.nongnu.org/avr-libc/user-manual/install_tools.html The assertion failure that terminated the GCC build is appended. It's very easy to reproduce, but let me know if there's more info you need from me. I'm guessing that either not many folk have tried to build a GCC that supports the newest AVR chips, or those config+build instructions are wrong, since this is an error I saw with a few other recent GCCs in the last month or so. Anyone have a fix, workaround, or other suggestion? - Dave /home/tux/avr/gcc/obj-avr/./gcc/xgcc -B/home/tux/avr/gcc/obj-avr/./gcc/ -B/usr/local/avr/avr/bin/ -B/usr/local/avr/avr/lib/ -isystem /usr/local/avr/avr/include -isystem /usr/local/avr/avr/sys-include -O2 -O2 -g -O2 -DIN_GCC -DCROSS_COMPILE -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../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include -I../../gcc/../libdecnumber -I../libdecnumber -DL_clear_cache -c ../../gcc/libgcc2.c -o libgcc/./_clear_cache.o ../../gcc/libgcc2.c: In function '__clear_cache': ../../gcc/libgcc2.c:1992: internal compiler error: in compute_frame_pointer_to_fb_displacement, at dwarf2out.c:10452 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. make[3]: *** [libgcc/./_clear_cache.o] Error 1 make[3]: Leaving directory `/home/tux/avr/gcc/obj-avr/gcc' make[2]: *** [stmp-multilib] Error 2 make[2]: Leaving directory `/home/tux/avr/gcc/obj-avr/gcc' make[1]: *** [all-gcc] Error 2 make[1]: Leaving directory `/home/tux/avr/gcc/obj-avr' make: *** [all] Error 2