home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / linux / 10160 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.9 KB  |  55 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!mcsun!sun4nl!alchemy!ruunfs!hooft
  3. From: hooft@fys.ruu.nl (Rob Hooft)
  4. Subject: Re: GCC 2.2.2d problems
  5. Message-ID: <1992Sep8.084449.14138@fys.ruu.nl>
  6. Organization: Physics Department, University of Utrecht, The Netherlands
  7. References: <1992Sep7.190540.19563@odin.diku.dk> <lao3qdINN70h@ozona.cs.utexas.edu>
  8. Date: Tue, 8 Sep 1992 08:44:49 GMT
  9. Lines: 44
  10.  
  11. In <lao3qdINN70h@ozona.cs.utexas.edu> jefftep@cs.utexas.edu (Jeffrey Grills) writes:
  12.  
  13. >jablo@diku.dk (Jacob Martin Bohn Lorensen) writes:
  14. >>Recently I got GCC 2.2.2d. I even used the install.2.x shell
  15. >>script with no problems. :-)
  16. >>
  17. >>But when I try to compile the kernel, or any program bigger than
  18. >>"hello world", cpp gets a signal 11 (SIGSEGV ?) and dumps core.
  19. >>
  20. >>Any suggestions?
  21. >>
  22.  
  23. >Ah, that problem.  Sorry I don't have a fix for you.  No one ever found
  24. >a proper solution for me when I had that problem.  I will tell you (and
  25. >everyone else) what I have done.
  26.  
  27. I have heard some rumors that this problem was caused by duplicate files.
  28. I think that copies of 'cpp' came with the MCC interim releases, and our
  29. newer compilers don't like them. Using find, you could try:
  30.  
  31.    find / -name cpp -ls
  32.  
  33. to find out. Otherwise it might be possible to locate all duplicate 
  34. programs by something like:
  35.  
  36.    cd /
  37.    ls -lRF | grep \* | awk '{print $8}' | sort > /tmp/exec.lst
  38.    cd /tmp
  39.    uniq exec.lst | diff exec.lst -
  40.  
  41. Please read me well: I did not encounter this problem myself, but I think
  42. this might be a solution. Previous releases of GCC always warned to get
  43. rid of all other compilers on your systems: currently they can coexist, but
  44. I think stray files like 'cpp' can still cause incompatibilities. cpp has
  45. changed a lot the last months.
  46.  
  47. Good luck,
  48.  
  49.  
  50.  
  51. -- 
  52. Rob Hooft, Bijvoet Center for Biomolecular Research, 
  53. Chemistry department University of Utrecht, the Netherlands
  54. hooft@hutruu54.bitnet hooft@chem.ruu.nl hooft@fys.ruu.nl hooft@cc.ruu.nl
  55.