Updated both linux buildscripts in sticky - please rebuild

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Updated the avr-gcc-4.3.3 and avr-gcc-4-2-4 toolchains in the sticky.

https://www.avrfreaks.net/index.p...

Applied a patch (courtesy of EW) , to binutils. In order to prevent errors in the avr25 architecture (ie. tiny85)

This was the error i saw when compiling uracoli.

avr-gcc -o build/tiny230/xmpl/xmpl_radio_stream_tiny230.elf -Wl,-Map=build/tiny230/xmpl/xmpl_radio_stream_tiny230.map -mmcu=attiny84 build/tiny230/xmpl/xmpl_radio_stream.o -Linstall/lib -lradio_tiny230 -lio_tiny230
/usr/local/avr-gcc-4.3.3-libc-1.6.7-14-Jun-2009/bin/../lib/gcc/avr/4.3.3/../../../../avr/lib/avr25/crttn84.o: In function `__bad_interrupt':
../../../../../../source/avr-libc-1.6.7/crt1/gcrt1.S:193: relocation truncated to fit: R_AVR_13_PCREL against symbol `exit' defined in .fini9 section in /usr/local/avr-gcc-4.3.3-libc-1.6.7-14-Jun-2009/bin/../lib/gcc/avr/4.3.3/avr25/libgcc.a(_exit.o)

scons: *** [build/tiny230/xmpl/xmpl_radio_stream_tiny230.elf] Error 1
scons: building terminated because of errors.
make: *** [all] Error 2
address@hidden:~/avr/uracoli-rf-library/uracoli-0.0.10-src$

AFAIK: You can still get relocation errors , if you miss to link with the math lib -lm , but that is another case.

/Bingo