home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / bsd / 8936 < prev    next >
Encoding:
Internet Message Format  |  1992-11-16  |  1.3 KB

  1. Path: sparky!uunet!mcsun!sunic!dkuug!dde!kim
  2. From: kim@dde.dk (Kim Andersen)
  3. Newsgroups: comp.unix.bsd
  4. Subject: [386BSD] Gcc 2.3.1 & kernel -> SUCCESS/2
  5. Message-ID: <1992Nov16.134717.22679@dde.dk>
  6. Date: 16 Nov 92 13:47:17 GMT
  7. Organization: Dansk Data Elektronik A/S
  8. Lines: 31
  9.  
  10. I would like to report a partial success with using gcc-2.3.1 for kernel
  11. compiling.
  12.  
  13. I had to do the following in order to be able to link/boot this new kernel:
  14.  
  15. compile init_main.c with gcc-1.39, otherwise the link stage would fail with
  16. symbol error for "___main".
  17.  
  18. compile machdep.c with gcc-1.39, otherwise the kernel will enter a endless
  19. reboot loop.
  20. (This has to do with some differences in packing between 1.39 & 2.3.1 )
  21.  
  22. compile pccons_{vga,out,kbd} with gcc-1.39, else multiply defined symbols.
  23. (This is really weird.)
  24.  
  25. My machine have been running this kernel since saturday night, with "only"
  26. 2 crashes/hangs.
  27. The hanging is seen when running a gcc-1.39 kernel, probably has something to
  28. do with swapping.
  29. The crash happens when running the byte-benchmarks (4 concurrents shells),
  30. and gives a "vm_fault(blah....) trap code 12".
  31. It also happens when using a gcc-1.39 compiled kernel.
  32.  
  33. I haven't tried comparing the performance using the different kernels.
  34. .
  35.  
  36. kim
  37. -- 
  38. -- 
  39. Kim Andersen @ Dansk Data Elektronik A/S, Herlev, Denmark.
  40. E-mail: kim@dde.dk   or    ...!uunet!mcsun!dkuug!dde!kim
  41.