Return to BSD News archive
Received: by minnie.vk1xwt.ampr.org with NNTP id AA5819 ; Fri, 01 Jan 93 01:56:55 EST Newsgroups: comp.unix.bsd Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!uunet!mcsun!sun4nl!fwi.uva.nl!vdlinden From: vdlinden@fwi.uva.nl (Frank van der Linden) Subject: Re: gcc 2.x and kernel building Message-ID: <1993Jan1.202748.18714@fwi.uva.nl> Sender: news@fwi.uva.nl Nntp-Posting-Host: carol.fwi.uva.nl Organization: FWI, University of Amsterdam References: <1992Dec28.213027.18853@fwi.uva.nl> Date: Fri, 1 Jan 1993 20:27:48 GMT Lines: 27 It turns out I missed an error in math_emulate.c which causes gcc 2.3.3 to abort the kernel compilation. Patch below assumes that the patchkit is installed. Onno van der Linden c/o vdlinden@fwi.uva.nl *** /usr/src/sys.386bsd/i386/i386/math_emulate.c.orig Sun Nov 22 14:00:34 1992 --- /usr/src/sys.386bsd/i386/i386/math_emulate.c Thu Dec 31 19:35:55 1992 *************** *** 620,624 **** return (char *) offset; } ! tmp = & (long)REG(rm); switch (mod) { case 0: offset = 0; break; --- 620,624 ---- return (char *) offset; } ! tmp = (long *) ®(rm); switch (mod) { case 0: offset = 0; break; -- Frank van der Linden. Internet : vdlinden@fwi.uva.nl * WARNING ---- The author of this message has once seen some AT&T Unix source * * code, so now this message is probably copyrighted by them! You have been * * reading this entirely at your own risk.. *