Re. Building latest snapshot using latest tools fails for m68k Coldfire under cygwin

Ian Caddy ianc at microsol.iinet.net.au
Tue Mar 26 05:25:22 UTC 2002


Hi,

This looks like the problem that was reported some time ago about the
byte swapping provided in m68k.h

The function that would be called is:

CPU_swap_u32 or CPU_swap_u16

A patch has been put forward, but if you want a copy I can forward a new
m68k.h offline.  The instructions that are in the file are not supported
in the Coldfire processor.

Talk to you soon,

Ian Caddy


Jonas Moberg wrote:

> Probably allready asked by somebody else - but here we go: When trying
> to build RTEMS (2002-03-01 snapshot) using the latest tool chain from
> snapshotfor m68k Coldfire the assembler complains.The module compiled
> is fat.c and I guess it origins from some bit-banging code in the FAT
> implementation.Pretty shure that the correct as is used.Working under
> cygwin.Any idea? /Jonas Moberg make[6]: Entering directory
> `/cygdrive/c/rtems/m68k-ss/m68k-rtems/c/mcf5206elite/libfs/src/dosfs'
> m68k-rtems-gcc --pipe -B../../../../../lib/
> -B../../../../../mcf5206elite/lib/ -specs bsp_specs -qrtems
> -DHAVE_CONFIG_H
>  -I.  -ansi -fasm      -O4 -fomit-frame-pointer   -g -Wall -m5200  -o
> o-optimize/fat.o -c /cygdrive/c/rtems/rtems-ss-200
> 20301/c/src/libfs/src/dosfs/fat.c
> /cygdrive/c/rtems/rtems-ss-20020301/c/src/libfs/src/dosfs/fat.c: In
> function `fat_init_clusters_chain':
> /cygdrive/c/rtems/rtems-ss-20020301/c/src/libfs/src/dosfs/fat.c:537:
> warning: implicit declaration of function `fat_get_fat_cluster'
> {standard input}: Assembler messages:
> {standard input}:3627: Error: invalid instruction for this
> architecture; needs 68000 or higher -- statement `rorw #8,%d0' ignored
>
> {standard input}:3637: Error: invalid instruction for this
> architecture; needs 68000 or higher -- statement `rorw #8,%d0' ignored
>
> {standard input}:3655: Error: invalid instruction for this
> architecture; needs 68000 or higher -- statement `rorw #8,%d1' ignored
>
> {standard input}:3665: Error: invalid instruction for this
> architecture; needs 68000 or higher -- statement `rorw #8,%d1' ignored

--

ianc at microsol.iinet.net.au
Microsol (Aust) Pty Ltd

Phone: (+61) 08 9473 6600
Fax:   (+61) 08 9473 6699





More information about the users mailing list