[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BSD Stack on the Coldfire.



Hi

I am building 980824 snapshot with tcp enabled and I am getting this
failure. I am using egcs-1.1b and binutils-2.9.1.

I am confused as David said he is using the BSD stack.

Is this a problem with the m68k checksum code when used with the
Coldfire ?

$ m68k-rtems-gcc --pipe  -m5200 -Wall -ansi -fasm -g
-B/ods/src/tools/rtems/rtems-980824/rtems-bare-5200/bare/lib/ -specs
bsp_specs -qrtems
-I/ods/src/tools/rtems/rtems-980824/rtems-bare-5200/bare/lib/include/networking
-D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS -DDIAGNOSTIC
-DBOOTP_COMPAT -O4 -fomit-frame-pointer     -c -o
o-bare-m5200/in_cksum.o
../../../../../../rtems-980824/c/src/lib/libnetworking/netinet/in_cksum.c
{standard input}: Assembler messages:
{standard input}:1433: Error: invalid instruction for this architecture;
needs 68000 or higher -- statement `andi #0xf,%cc' ignored
{standard input}:1469: Error: invalid instruction for this architecture;
needs 68000 or higher -- statement `dbf %d1,lcsum1_lbl' ignored
{standard input}:1472: Error: invalid instruction for this architecture;
needs 68000 or higher -- statement `addxw %d0,%d2' ignored
{standard input}:1474: Error: invalid instruction for this architecture;
needs 68000 or higher -- statement `addxw %d0,%d2' ignored
make[5]: *** [o-bare-m5200/in_cksum.o] Error 1

Regards