Re: 2.1.97: Assembler error, won't build.

Dave Meyer (dmeyer@std.saic.com)
Sun, 19 Apr 1998 15:57:58 -0400


From: Jim Bray <jb@as220.org>
Subject: 2.1.97: Assembler error, won't build.
Date: Sat, 18 Apr 1998 10:24:40 -0400 (EDT)
Message-ID: <Pine.LNX.3.95.980418101551.3264A-100000@gilgamesh.uruk>
jb>
jb> make[1]: Entering directory `/src/linux-2.1.97/arch/i386/kernel'
jb> gcc -D__KERNEL__ -I/src/linux-2.1.97/include -Wall -Wstrict-prototypes -O2
jb> -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2
jb> -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o process.o process.c
jb> {standard input}: Assembler messages:
jb> {standard input}:630: Error: operands given don't match any known 386
jb> instruction
jb> make[1]: *** [process.o] Error 1
jb> make[1]: Leaving directory `/src/linux-2.1.97/arch/i386/kernel'
jb> make: *** [linuxsubdirs] Error 2
jb>
jb> [root@gilgamesh linux]# gcc -v
jb> Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnulibc1/2.8.1/specs
jb> gcc version 2.8.1

I get exactly the same error, but with egcs version 1.0.2 and
-DCPU=686. As another data point, if I remove the -O2 from the
compiler command, process.c does compile (though I don't trust it
enough to actually TEST it). Note that -O1 still causes assembler
errors.

FWIW.

Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu