avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] avr-gcc 4.6.0 aborts on -g


From: Georg Lay
Subject: [avr-gcc-list] avr-gcc 4.6.0 aborts on -g
Date: Tue, 02 Nov 2010 15:59:46 +0100
User-agent: Thunderbird 2.0.0.24 (X11/20100302)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]