[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-gcc-list] Strange error in avr-gcc 4.3.3 - relocationtruncated
From: |
Weddington, Eric |
Subject: |
RE: [avr-gcc-list] Strange error in avr-gcc 4.3.3 - relocationtruncated to fit: R_AVR_13_PCREL |
Date: |
Tue, 11 Aug 2009 15:30:39 -0600 |
> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
> org] On Behalf Of Carsten
> Sent: Tuesday, August 11, 2009 2:45 PM
> To: address@hidden
> Subject: [avr-gcc-list] Strange error in avr-gcc 4.3.3 -
> relocationtruncated to fit: R_AVR_13_PCREL
>
> Hi avr-gcc list
>
> I have noticed a strange error (list at bottom of post) , and Jörg
> adviced me to forward the question here for a 2'nd opinion
>
> I just tried to compile uracoli
> (http://www.nongnu.org/uracoli/index.html)
>
<snip>
>
> Here is the "Tail" of the console build output.
>
> 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$
Hi Carsten,
I don't see the math library being linked in the link command line (-lm).
Please try that.
@Axel:
You probably need to clean up all the warnings too. ;-)
Eric Weddington