RE: Released avr-libc 1.4.8

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Oops, yes, thanks for the correction.

Jörg Wunsch

Please don't send me PMs, use email if you want to approach me personally.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello all!

I was building the whole toolchain on my Mandriva 2008.0 box using the latest tarballs (binutils 2.18, gcc 4.2.3) but when building gcc I get:

/var/ftp/Linux/AVR-GCC/gcc-4.2.3/avr-gcc/./gcc/xgcc -B/var/ftp/Linux/AVR-GCC/gcc-4.2.3/avr-gcc/./gcc/ -B/usr/local/avr/bin/ -B/usr/local/avr/lib/ -isystem /usr/local/avr/include -isystem /usr/local/avr/sys-include -O2 -O2 -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -DDF=SF -Dinhibit_libc -mcall-prologues -Os -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include -I../../gcc/../libdecnumber -I../libdecnumber -mmcu=avr35 -DL_mulsi3 -xassembler-with-cpp -c ../../gcc/config/avr/libgcc.S -o libgcc/avr35/_mulsi3.o
../../gcc/config/avr/libgcc.S: Assembler messages:
../../gcc/config/avr/libgcc.S:280: Error: illegal opcode movw for mcu avr3
../../gcc/config/avr/libgcc.S:282: Error: illegal opcode movw for mcu avr3
make[3]: *** [libgcc/avr35/_mulsi3.o] Error 1
make[3]: Leaving directory `/var/ftp/Linux/AVR-GCC/gcc-4.2.3/avr-gcc/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/var/ftp/Linux/AVR-GCC/gcc-4.2.3/avr-gcc/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/var/ftp/Linux/AVR-GCC/gcc-4.2.3/avr-gcc'
make: *** [all] Error 2

Sorry for the mess but that happens with cut and paste in a small window...

Any thoughts on this error? Where should I drop it if it doesn't belong here? I could not find a gnu list directly related on lists.gnu.org.

TIA
Egbert Jan (NL)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have the same problem. Any ideas would be helpfull!!!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Use GCC version <= 4.2.2, if you are using a stock (unpatched) binutils 2.18.