> -----Original Message----- > From: > avr-gcc-list-bounces+eric.weddington=atmel....@nongnu.org > [mailto:avr-gcc-list-bounces+eric.weddington=atmel....@nongnu. > org] On Behalf Of Andy H > Sent: Saturday, September 12, 2009 6:33 PM > To: avr-gcc-list@nongnu.org > Subject: [avr-gcc-list] Todays gcc build gives illegal opcode > elpm for mcuavr5 > > I'm reinstall gcc toolchain under Linux from sources. > > This built from todays head version. I get : > > Error: illegal opcode elpm for mcu avr5 > > What am I doing wrong here with binutils versions? > > Or is this bug 35936 that Eric just closed. > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35936 > a...@xion:~/gccbuild/obj-dir$ avr-as -v > GNU assembler version 2.18.0 (avr) using BFD version (GNU Binutils) > 2.18.0.20080103 (WinAVR 20080610) >
That looks familiar. Don't use binutils 2.18, use binutils 2.19 or later (and preferrably with the WinAVR patches). AFAIK, there has been very little testing with gcc 4.4.0 or later, and definitely hardly any testing with HEAD (future 4.5). Let me know how it goes. Thanks, Eric Weddington _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list