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

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

RE: [avr-gcc-list] ICE in GNU ld


From: Weddington, Eric
Subject: RE: [avr-gcc-list] ICE in GNU ld
Date: Thu, 12 Feb 2009 21:50:34 -0700

 

> -----Original Message-----
> From: 
> address@hidden 
> [mailto:address@hidden
> org] On Behalf Of Daniel O'Connor
> Sent: Thursday, February 12, 2009 9:41 PM
> To: address@hidden
> Subject: [avr-gcc-list] ICE in GNU ld
> 
> Hi,
> I have a project based on an ATMega 8535 and I find that if I 
> enable linker 
> relaxation I crash ld. If I set the type to atmega16 or 32 it 
> doesn't crash.
> 
> [Inchoate 15:09] ~/projects/sprink >avr-gcc -v
> Using built-in specs.
> Target: avr
> Configured with: ../src/configure -v --enable-languages=c,c++ 
> --prefix=/usr --
> infodir=/usr/share/info --mandir=/usr/share/man 
> --libexecdir=/usr/lib --
> enable-shared --with-system-zlib --enable-long-long 
> --enable-nls --without-
> included-gettext --disable-checking --disable-libssp 
> --build=i486-linux-gnu --
> host=i486-linux-gnu --target=avr
> Thread model: single
> gcc version 4.3.0 (GCC)

The fact that you're using 4.3.0 is suspicious. There were some code generation 
problems with that version, unless your compiler is built with certain patches, 
which can be found in the WinAVR project repository.

Do you have access to an AVR GCC version that is more recent, such as 4.3.2?

Also what version of binutils are you using?




reply via email to

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