From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10844 invoked by alias); 4 Oct 2003 18:29:23 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 10837 invoked from network); 4 Oct 2003 18:29:22 -0000 Received: from unknown (HELO londo.lunn.ch) (80.238.139.98) by sources.redhat.com with SMTP; 4 Oct 2003 18:29:22 -0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1A5r9d-0007SU-00 for ; Sat, 04 Oct 2003 20:29:21 +0200 Date: Sat, 04 Oct 2003 18:29:00 -0000 To: eCos Disuss Message-ID: <20031004182921.GA8466@lunn.ch> Mail-Followup-To: eCos Disuss Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i From: Andrew Lunn Subject: [ECOS] XSCALE compilation problems X-SW-Source: 2003-10/txt/msg00050.txt.bz2 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