[lkml]   [1998]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: 2.1.97: Assembler error, won't build.

    From: Jim Bray <>
    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> 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> [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



    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to

     \ /
      Last update: 2005-03-22 13:42    [W:0.088 / U:15.328 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site