[Top][All Lists]

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

[avr-libc-dev] [bug #19771] multiple definition of `__fixsfsi'

From: Sean D Epagnier
Subject: [avr-libc-dev] [bug #19771] multiple definition of `__fixsfsi'
Date: Wed, 02 May 2007 07:10:50 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20070128 BonEcho/


                 Summary: multiple definition of `__fixsfsi'
                 Project: AVR C Runtime Library
            Submitted by: geckosenator
            Submitted on: Wednesday 05/02/2007 at 07:10
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any



avr-gcc -mmcu=atmega168 x.o -o x.elf -lm -Wl,-u,vfprintf -\
lprintf_flt -Wl,-Map=firstmag.map,--cref                                     

In function `__fixsfsi':            
../../../libm/fplib/fixsfsi.S:57: multiple definition of `__fixsfsi'         
rst defined here  

I am getting this problem with:
LDFLAGS = -lm -Wl,-u,vfprintf -lprintf_flt

The problem always occurs if I don't have a printf
with %f in it in the program, and in some cases where
it does.

If I insert the following code into my program the
problem never occurs:

void dum(void)                                                               
   int c;                                                                    
   printf("%f", (double)c);                                                  

If I were to declare c as a double, the problem could still

Should a function be removed from libgcc?


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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