I have just been checking out the entire gcc tree (head 4.0.0) and run a clean rebuild: cd build_directory rm -r * ../gcc/configure --target=avr --prefix=/home/bmh --disable-nls --with-dwarf2 --enable-languages="c" make all (Note that I have used --with-dwarf2!) What I am getting is :-( : ../../gcc/gcc/libgcc2.c:535: internal compiler error: in simplify_subreg, at simplify-rtx.c:3671 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. make[2]: *** [libgcc/./_muldi3.o] Fehler 1 make[2]: Leaving directory `/home/bmh/gnucvs/head/build/gcc' make[1]: *** [stmp-multilib] Fehler 2 make[1]: Leaving directory `/home/bmh/gnucvs/head/build/gcc' make: *** [all-gcc] Fehler 2 When building head 4.0.0 without --with-dwarf2, the build succeeds. I have made the same observation with last week's snapshot on another build system. Unfortunate thing is: dwarf-2 is the main debugging format for all the windows users that use the Atmel debugger (avr-gdb is so slow under cygwin that it is almost not useful to use it). Yours, Björn
-- Summary: dwarf-2 support is broken for head 4.0.0 Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bjoern dot m dot haase at web dot de CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-linux GCC host triplet: i686-linux GCC target triplet: avr-unknown-none http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19885