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

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

[avr-libc-dev] [patch #5377] Fix for multiple dufinition error


From: anonymous
Subject: [avr-libc-dev] [patch #5377] Fix for multiple dufinition error
Date: Fri, 8 Sep 2006 22:30:51 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.6) Gecko/20060809 Fedora/1.5.0.6-1_EL4 (CK-IBM) (CK-IBM) Firefox/1.5.0.6

URL:
  <http://savannah.nongnu.org/patch/?5377>

                 Summary: Fix for multiple dufinition error
                 Project: AVR C Runtime Library
            Submitted by: None
            Submitted on: Friday 09/08/2006 at 22:30 UTC
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open

    _______________________________________________________

Details:

Fix to fix the multiple definitions of __floatsisf:

avr-gcc -g -mmcu=atmega16 -Os -mcall-prologues -o frff.out -Wl,-Map,frff.map
*.o
/home/anunez/atmel/linker/lib/gcc/avr/4.1.0/../../../../avr/lib/avr5/libc.a(floatsisf.o):
In function `__floatunssisf':
../../../libm/fplib/floatsisf.S:65: multiple definition of `__floatsisf'
/home/anunez/atmel/linker/lib/gcc/avr/4.1.0/avr5/libgcc.a(_si_to_sf.o):/home/anunez/atmel/compilerBuild_41/gcc/fp-bit.c:1334:
first defined here
make: *** [frff.out] Error 1

I supposed this is just temporal problem until libc and libm get integrated
but for the time being the fix. For the time being I just renamed __floatsisf
in libm/fplib/floatsisf.S and it worked fined.

I used avr-libc 1.4.4 and gcc 4.1.0. The problem arised when initializing a
float variable with atof.





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Friday 09/08/2006 at 22:30 UTC  Name: floatsisf.fix  Size: 675B   By:
None
Fix to rename __floatsisf
<http://savannah.nongnu.org/patch/download.php?file_id=10715>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?5377>

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





reply via email to

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