Mail Archives: pgcc/1998/04/22/12:01:43
This message is in MIME format
--_=XFMail.1.3.p0.Linux:980422135517:318=_
Content-Type: text/plain; charset=us-ascii
On 22-Apr-98 Radek Stachowiak wrote:
> Hej!
>
> Could someone help me to compile kernel 2.1.97 with pgcc ? :)
> --------------------
> gcc -D__KERNEL__ -I/usr/src/linux-2.1.97/include -Wall -Wstrict-prototypes
> -O2
> -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2
> -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o process.o process.c
> {standard input}: Assembler messages:
> {standard input}:653: Error: operands given don't match any known 386
> instruction
> make[1]: *** [process.o] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.1.97/arch/i386/kernel'
> --------------------
Apply this patch...
regards,
Derkjan
----------------------------------
E-Mail: Derkjan de Haan <j DOT d DOT j DOT dehaan AT student DOT utwente DOT nl>
Date: 22-Apr-98
Time: 13:53:39
This message was sent by XFMail
----------------------------------
--_=XFMail.1.3.p0.Linux:980422135517:318=_
Content-Disposition: attachment; filename="asm-patch.diff"
Content-Transfer-Encoding: 7bit
Content-Description: asm-patch.diff
Content-Type: text/plain; charset=us-ascii; name=asm-patch.diff; SizeOnDisk=470
- --- include/asm-i386/system.h-dist-2.1.97 Sat Apr 18 15:50:08 1998
+++ include/asm-i386/system.h Sat Apr 18 16:43:12 1998
@@ -293,7 +293,7 @@
"movb $0,6(%2)\n\t" \
"movb %%ah,7(%2)\n\t" \
"rorl $16,%%eax" \
- - : "=m"(*(n)) : "a" (addr), "r"(n), "g"(limit), "i"(type))
+ : "=m"(*(n)) : "a" (addr), "r"(n), "ir"(limit), "i"(type))
#define set_tss_desc(n,addr) \
_set_tssldt_desc(((char *) (n)),((int)(addr)),235,0x89)
--_=XFMail.1.3.p0.Linux:980422135517:318=_--
End of MIME message
- Raw text -