[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #18169] multiple definition of __fixsfsi

From: anonymous
Subject: [avr-libc-dev] [bug #18169] multiple definition of __fixsfsi
Date: Wed, 01 Nov 2006 06:56:23 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20060326 Firefox/ (Debian-1.5.dfsg+


                 Summary: multiple definition of __fixsfsi
                 Project: AVR C Runtime Library
            Submitted by: None
            Submitted on: Wednesday 11/01/2006 at 06:56 UTC
                Category: Library
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
        Percent Complete: 0%
        Originator Email: address@hidden
             Open/Closed: Open



Forwarding Debian bug #394231 from Stephan Walter <address@hidden>, the
problem presists in v 1.4.5:

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?


Carbon-Copy List:

CC Address                          | Comment
Available only the item webpage     | Originator Email


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]