www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1998/04/22/12:01:43

X-pop3-spooler: POP3MAIL 2.1.0 b 4 980420 -bs-
Delivered-To: pcg AT goof DOT com
Message-Id: <199804221155.NAA00463@Cal012054.student.utwente.nl>
X-Mailer: XFMail 1.3-beta-041398 [p0] on Linux
X-Priority: 3 (Normal)
MIME-Version: 1.0
In-Reply-To: <19980422130135.49619@alter.ds14.agh.edu.pl>
Date: Wed, 22 Apr 1998 13:55:17 +0200 (CEST)
Organization: Badmuts Inc.
From: Derkjan de Haan <j DOT d DOT j DOT dehaan AT student DOT utwente DOT nl>
To: radek AT fidonet DOT org DOT pl
Subject: RE: Problems with kernel 2.1.97 compilation
Cc: beastium-list AT Desk DOT nl
Sender: Marc Lehmann <pcg AT goof DOT com>
Status: RO
Lines: 56

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019