bugAVR C Runtime Library - Bugs: bug #18169, multiple definition of __fixsfsi


bug #18169: multiple definition of __fixsfsi

Submitted by:  None
Submitted on:  Wed 01 Nov 2006 06:56:21 AM UTC  
Category: LibrarySeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: DuplicatePercent Complete: 0%
Assigned to: Joerg Wunsch <joerg_wunsch>Originator Email: -unavailable-
Open/Closed: ClosedRelease: None
Fixed Release: None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 01 Nov 2006 07:54:20 AM UTC, comment #1:

Duplicate for bug #3485.

Just link with -lm for the time being.

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Wed 01 Nov 2006 06:56:21 AM UTC, original submission:

Forwarding Debian bug #394231 from Stephan Walter <stephan@walter.name>, 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?



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Please enter the title of George Orwell's famous dystopian book (it's a date):



Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 01 Nov 2006 07:54:20 AM UTCjoerg_wunschStatusNone=>Duplicate
  Assigned toNone=>joerg_wunsch
Wed 01 Nov 2006 06:56:21 AM UTCNoneCarbon-Copy-=>Added -unavailable-

Back to the top

Powered by Savane 3.1-cleanup1