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: [EMAIL PROTECTED]
Open/Closed: Open
_______________________________________________________
Details:
Forwarding Debian bug #394231 from Stephan Walter <[EMAIL PROTECTED]>, 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/
_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev