Hi, thanx for your repport. This is probably an upstream problem. I'll upgrade the lib to 1.4.5 and if that dosn't help I'll forward the problem upstream.
On 10/19/06, Stephan Walter <[EMAIL PROTECTED]> wrote:
Package: avr-libc Version: 1:1.4.4-2 Compiling the following program with avr-gcc gives an error about multiple definition of __fixsfsi // program code starts here - put it in bug.c #include <stdlib.h> int main() { double foo = atof("1.0"); return (int) foo; } // program code ends here $ avr-gcc bug.c /usr/lib/gcc/avr/4.1.0/../../../../avr/lib/libc.a(fixsfsi.o): In function `__fixsfsi': ../../../libm/fplib/fixsfsi.S:57: multiple definition of `__fixsfsi' /usr/lib/gcc/avr/4.1.0/libgcc.a(_sf_to_si.o):: first defined here $ Compiling the same program with the native gcc target (i486-linux-gnu) works fine. The problem may also be with the gcc-avr package. Or am I doing something wrong? Versions of involved packages: avr-libc 1.4.4-2 binutils-avr 2.16.1-1 gcc-avr 4.1.0-1 libc6 2.3.6.ds1-6 --Stephan Walter
-- Håkan Ardö