[ECOS] XSCALE compilation problems

Andrew Lunn andrew@lunn.ch
Sat Oct 4 18:29:00 GMT 2003


Hi Folks

I came across this while looking at the some the patches which have
been contributed:

 rm -fr * ; ecosconfig new iq80310; ecosconfig tree ; make -s
headers finished
/home/lunn/eCos/anoncvs/packages/hal/arm/xscale/iop310/current/src/iop310_pci.c: In function `pci_config_setup':
/home/lunn/eCos/anoncvs/packages/hal/arm/xscale/iop310/current/src/iop310_pci.c:302: warning: return discards qualifiers from pointer target type
/opt/ecos/gnutools/arm-elf/bin/../lib/gcc-lib/arm-elf/3.2.1/../../../../arm-elf/bin/ld: ERROR: /home/lunn/eCos/work/install/lib/libextras.a(io_serial_serial.o) uses FPA instructions, whereas /home/lunn/eCos/work/install/lib/extras.o uses VFP instructions
No more archived files: failed to merge target specific data of file /home/lunn/eCos/work/install/lib/libextras.a(io_serial_serial.o)
/opt/ecos/gnutools/arm-elf/bin/../lib/gcc-lib/arm-elf/3.2.1/../../../../arm-elf/bin/ld: ERROR: /home/lunn/eCos/work/install/lib/libextras.a(io_serial_tty.o) uses FPA instructions, whereas /home/lunn/eCos/work/install/lib/extras.o uses VFP instructions
No more archived files: failed to merge target specific data of file /home/lunn/eCos/work/install/lib/libextras.a(io_serial_tty.o)
/opt/ecos/gnutools/arm-elf/bin/../lib/gcc-lib/arm-elf/3.2.1/../../../../arm-elf/bin/ld: ERROR: /home/lunn/eCos/work/install/lib/libextras.a(io_serial_haldiag.o) uses FPA instructions, whereas /home/lunn/eCos/work/install/lib/extras.o uses VFP instructions
No more archived files: failed to merge target specific data of file /home/lunn/eCos/work/install/lib/libextras.a(io_serial_haldiag.o)
collect2: ld returned 1 exit status
make[1]: *** [/home/lunn/eCos/work/install/lib/extras.o] Error 1
make: *** [build] Error 2

This seems true for all XARM iq* and the npwr target. I'm using the
standard eCoeCentric tool chain.

Anybody got any ideas?

        Andrew

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list