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