public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] XSCALE compilation problems
@ 2003-10-04 18:29 Andrew Lunn
  2003-10-04 19:37 ` Gary Thomas
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Lunn @ 2003-10-04 18:29 UTC (permalink / raw)
  To: eCos Disuss

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] XSCALE compilation problems
  2003-10-04 18:29 [ECOS] XSCALE compilation problems Andrew Lunn
@ 2003-10-04 19:37 ` Gary Thomas
  2003-10-04 19:44   ` Andrew Lunn
  0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 2003-10-04 19:37 UTC (permalink / raw)
  To: Andrew Lunn; +Cc: eCos Disuss

On Sat, 2003-10-04 at 12:29, Andrew Lunn wrote:
> 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?
> 

Odd. These work just fine for me, using my own home-brew 3.2.2
toolchain.

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] XSCALE compilation problems
  2003-10-04 19:37 ` Gary Thomas
@ 2003-10-04 19:44   ` Andrew Lunn
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Lunn @ 2003-10-04 19:44 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Andrew Lunn, eCos Disuss

> Odd. These work just fine for me, using my own home-brew 3.2.2
> toolchain.

I've tracked it down to my "kludge fix" for bug #1000035. 

     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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-10-04 19:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-04 18:29 [ECOS] XSCALE compilation problems Andrew Lunn
2003-10-04 19:37 ` Gary Thomas
2003-10-04 19:44   ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).