> -----Original Message-----
> From: 
> avr-gcc-list-bounces+eweddington=cso.atmel....@nongnu.org 
> [mailto:avr-gcc-list-bounces+eweddington=cso.atmel....@nongnu.
> org] On Behalf Of Daniel O'Connor
> Sent: Thursday, February 12, 2009 9:41 PM
> To: avr-gcc-list@nongnu.org
> 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?


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to