This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Re: IXDP425 redboot from CVS ld error
- From: Mark Salter <msalter at redhat dot com>
- To: antonello at kasko dot it
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Mon, 20 Sep 2004 11:31:26 -0400 (EDT)
- Subject: Re: [ECOS] Re: IXDP425 redboot from CVS ld error
- References: <006501c49ef3$7e94a990$0601a8c0@antonb>
>>>>> Antonello Lombardinilo writes:
> Hi Mark,
> i update my source files from CVS this morning.
> I have recompiled. The compilation break with following error:
> 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/re
> dboot.elf
> /home/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-build/install/lib/ve
> 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/re
> dboot.elf uses VFP instructions
I'm using a gcc-3.3ish arm-elf toolchain with no problem. It looks like your
toolchain is using hard-float by default. You might try adding -msoft-float
to CFLAGS.
--Mark
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss