avr-libc-dev
[Top][All Lists]
Advanced

[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:1.8.0.3) Gecko/20060326 Firefox/1.5.0.3 (Debian-1.5.dfsg+1.5.0.3-2)

URL:
  <http://savannah.nongnu.org/bugs/?18169>

                 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

    _______________________________________________________

Details:

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:

  <http://savannah.nongnu.org/bugs/?18169>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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