Hi, I'm trying to build avr-gcc 4.6.0 from last snapshot SVN 166096. FYI, it aborts upon building libgcc when it tries to compile conftest.c as
configure:3020: /mnt/nfs/home/georg/gcc/build/gcc-4.6.0-avr/./gcc/xgcc -B/mnt/nfs/home/georg/gcc/build/gcc-4.6.0-avr/./gcc/ -B/home/georg/gcc/install/gcc-4.6.0/avr/bin/ -B/home/georg/gcc/install/gcc-4.6.0/avr/lib/ -isystem /home/georg/gcc/install/gcc-4.6.0/avr/include -isystem /home/georg/gcc/install/gcc-4.6.0/avr/sys-include -o conftest -g -O2 conftest.c >&5 conftest.c:1:0: internal compiler error: in dwarf2out_frame_init, at dwarf2out.c:4173 Tracking that down reveals that avr BE does not implement target hook INCOMING_RETURN_ADDR_RTX so that default is used: #define INCOMING_RETURN_ADDR_RTX (gcc_unreachable (), NULL_RTX) So actually all sources that want -g will break the compilation. configured as /gnu/source/gcc.gnu.org/trunk/configure --target=avr --prefix=/home/georg/gcc/install/gcc-4.6.0 --enable-languages=c,c++ --disable-libssp --disable-libada --disable-nls --disable-shared --with-dwarf2 _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list