URL:
<http://savannah.nongnu.org/patch/?5377>
Summary: Fix for multiple dufinition error
Project: AVR C Runtime Library
Submitted by: None
Submitted on: Friday 09/08/2006 at 22:30 UTC
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
_______________________________________________________
Details:
Fix to fix the multiple definitions of __floatsisf:
avr-gcc -g -mmcu=atmega16 -Os -mcall-prologues -o frff.out -Wl,-Map,frff.map
*.o
/home/anunez/atmel/linker/lib/gcc/avr/4.1.0/../../../../avr/lib/avr5/libc.a(floatsisf.o):
In function `__floatunssisf':
../../../libm/fplib/floatsisf.S:65: multiple definition of `__floatsisf'
/home/anunez/atmel/linker/lib/gcc/avr/4.1.0/avr5/libgcc.a(_si_to_sf.o):/home/anunez/atmel/compilerBuild_41/gcc/fp-bit.c:1334:
first defined here
make: *** [frff.out] Error 1
I supposed this is just temporal problem until libc and libm get integrated
but for the time being the fix. For the time being I just renamed __floatsisf
in libm/fplib/floatsisf.S and it worked fined.
I used avr-libc 1.4.4 and gcc 4.1.0. The problem arised when initializing a
float variable with atof.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Friday 09/08/2006 at 22:30 UTC Name: floatsisf.fix Size: 675B By:
None
Fix to rename __floatsisf
<http://savannah.nongnu.org/patch/download.php?file_id=10715>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?5377>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev