[ECOS] Re: IXDP425 redboot from CVS ld error
jerzy dyrda
jerzy.dyrda@kontron.pl
Mon Sep 20 10:52:00 GMT 2004
Hi Antonello
I had the same problem when i used arm-elf-gcc (from arm Linux) and second
possible reason - using lib in LE. Now I use xscale-elf from GNUPro Tools and
the compilation is ok.
On Monday 20 of September 2004 11:23, Antonello Lombardinilo wrote:
> Hi Mark,
> i update my source files from CVS this morning.
> I have recompiled. The compilation break with following error:
>
> make[1]: Entering directory
> `/home/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-build/redboot/curr
>e nt'
> arm-elf-gcc -c
> -I/home/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-bui
> ld/install/include
> -I/home/antonello/eCos/eCos_Dwld/ecos/packages/redboot/cu rrent
> -I/home/antonello/eCos/eCos_Dwld/ecos/packages/redboot/current/src -I/
> home/antonello/eCos/eCos_Dwld/ecos/packages/redboot/current/tests -I.
> -finli ne-limit=7000 -mbig-endian -mcpu=xscale -Wall -Wpointer-arith
> -Wstrict-proto types -Winline -Wundef -Woverloaded-virtual -g -O2
> -ffunction-sections -fdat a-sections -fno-rtti -fno-exceptions -mapcs-frame
> -o
> /home/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-build/install/lib/v
>e rsion.o
> /home/antonello/eCos/eCos_Dwld/ecos/packages/redboot/current/src/version.c
> arm-elf-gcc -mbig-endian -Wl,--gc-sections -Wl,-static -g -O2 -nostdlib
> -L/h
> ome/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-build/install/lib
> -Tta rget.ld -o
> /home/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-build/install/bin/r
>e dboot.elf
> /home/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-build/install/lib/v
>e rsion.o
> /gnutools/lib/gcc-lib/arm-elf/3.2.1/../../../../arm-elf/bin/ld: ERROR:
> /gnutools/lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_udivsi3.o) uses FPA
> instructions, whereas
> /home/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-build/install/bin/r
>e dboot.elf uses VFP instructions
> File in wrong format: failed to merge target specific data of file
> /gnutools/lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_udivsi3.o)
> /gnutools/lib/gcc-lib/arm-elf/3.2.1/../../../../arm-elf/bin/ld: ERROR:
> /gnutools/lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_divsi3.o) uses FPA
> instructions, whereas
> /home/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-build/install/bin/r
>e dboot.elf uses VFP instructions
> File in wrong format: failed to merge target specific data of file
> /gnutools/lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_divsi3.o)
> /gnutools/lib/gcc-lib/arm-elf/3.2.1/../../../../arm-elf/bin/ld: ERROR:
> /gnutools/lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_umodsi3.o) uses FPA
> instructions, whereas
> /home/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-build/install/bin/r
>e dboot.elf uses VFP instructions
> File in wrong format: failed to merge target specific data of file
> /gnutools/lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_umodsi3.o)
> /gnutools/lib/gcc-lib/arm-elf/3.2.1/../../../../arm-elf/bin/ld: ERROR:
> /gnutools/lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_dvmd_tls.o) uses FPA
> instructions, whereas
> /home/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-build/install/bin/r
>e dboot.elf uses VFP instructions
> File in wrong format: failed to merge target specific data of file
> /gnutools/lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_dvmd_tls.o)
> /gnutools/lib/gcc-lib/arm-elf/3.2.1/../../../../arm-elf/bin/ld: ERROR:
> /gnutools/lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_ashrdi3.o) uses FPA
> instructions, whereas
> /home/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-build/install/bin/r
>e dboot.elf uses VFP instructions
> File in wrong format: failed to merge target specific data of file
> /gnutools/lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_ashrdi3.o)
> /gnutools/lib/gcc-lib/arm-elf/3.2.1/../../../../arm-elf/bin/ld: ERROR:
> /gnutools/lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_udivdi3.o) uses FPA
> instructions, whereas
> /home/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-build/install/bin/r
>e dboot.elf uses VFP instructions
> File in wrong format: failed to merge target specific data of file
> /gnutools/lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_udivdi3.o)
> /gnutools/lib/gcc-lib/arm-elf/3.2.1/../../../../arm-elf/bin/ld: ERROR:
> /gnutools/lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_umoddi3.o) uses FPA
> instructions, whereas
> /home/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-build/install/bin/r
>e dboot.elf uses VFP instructions
> File in wrong format: failed to merge target specific data of file
> /gnutools/lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_umoddi3.o)
> /gnutools/lib/gcc-lib/arm-elf/3.2.1/../../../../arm-elf/bin/ld: ERROR:
> /gnutools/lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_clz.o) uses FPA
> instructions, whereas
> /home/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-build/install/bin/r
>e dboot.elf uses VFP instructions
> File in wrong format: failed to merge target specific data of file
> /gnutools/lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_clz.o)
> collect2: ld returned 1 exit status
> make[1]: ***
> [/home/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-build/install/bin/
>r edboot.elf] Error 1
> make[1]: Leaving directory
> `/home/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-build/redboot/curr
>e nt'
> make: *** [build] Error 2
>
> I looked for this problem in the mailing list
> (http://sources.redhat.com/ml/ecos-discuss/2003-10/msg00051.html and
> http://sources.redhat.com/ml/ecos-discuss/2003-04/msg00320.html), but I
> already patched gcc-3.2.1.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list