home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / bsd / 10820 < prev    next >
Encoding:
Text File  |  1993-01-01  |  1.3 KB  |  40 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!mcsun!sun4nl!fwi.uva.nl!vdlinden
  3. From: vdlinden@fwi.uva.nl (Frank van der Linden)
  4. Subject: Re: gcc 2.x and kernel building
  5. Message-ID: <1993Jan1.202748.18714@fwi.uva.nl>
  6. Sender: news@fwi.uva.nl
  7. Nntp-Posting-Host: carol.fwi.uva.nl
  8. Organization: FWI, University of Amsterdam
  9. References: <1992Dec28.213027.18853@fwi.uva.nl>
  10. Date: Fri, 1 Jan 1993 20:27:48 GMT
  11. Lines: 27
  12.  
  13.  
  14.  It turns out I missed an error in math_emulate.c which causes gcc 2.3.3
  15. to abort the kernel compilation.
  16. Patch below assumes that the patchkit is installed.
  17.  
  18. Onno van der Linden          c/o           vdlinden@fwi.uva.nl
  19.  
  20. *** /usr/src/sys.386bsd/i386/i386/math_emulate.c.orig    Sun Nov 22 14:00:34 1992
  21. --- /usr/src/sys.386bsd/i386/i386/math_emulate.c    Thu Dec 31 19:35:55 1992
  22. ***************
  23. *** 620,624 ****
  24.           return (char *) offset;
  25.       }
  26. !     tmp = & (long)REG(rm);
  27.       switch (mod) {
  28.           case 0: offset = 0; break;
  29. --- 620,624 ----
  30.           return (char *) offset;
  31.       }
  32. !     tmp = (long *) ®(rm);
  33.       switch (mod) {
  34.           case 0: offset = 0; break;
  35. -- 
  36.   Frank van der Linden.                        Internet : vdlinden@fwi.uva.nl
  37. * WARNING ---- The author of this message has once seen some AT&T Unix source *
  38. * code, so now this message is probably copyrighted by them! You have been    *
  39. * reading this entirely at your own risk..                                    *
  40.