On Monday 16 December 2002 04:11, Andrei Verovski wrote:
Hi,
I am continuosly have gcc segmentation fault problems with SuSE 8.1 (updated with latest RPMs from SuSE update ftp), latest SuSE kernel which contains fix for buggy VIA South Bridge (also from mentioned location), and gcc 3.2-46 from /projects.
Small packages usually compile fine, but larger ones (e.g. quanta and especially kernel) randomly abort with message "internal error - segmentation fault". However, it is possible to continue compilation further with random success.
So the segfaults are random...?
I did all type of troubleshooting (I have even replaced RAM and reinstalled SuSE from scratch). Unfortunately, it did not help. Everything else seem to work fine (XFree in linux, WinXP with games, etc.), except gcc.
I have this hardware: Athlon XP 1600, 512 MB DDR RAM (Kingston), Chaintech 7VJDA m/b (VIA KT 266A chipset), latest BIOS update, 40 GB 7200 rpm Maxtor HD. CPU temperature is very low, I have checked it.
May be I have missed some packages which gcc would like to be installed, and which are not listed in RPM dependency?
If you installed gcc using YaST2, dependencies should not be a problem. Also, as you yourself said, compiling small packages is fine. It appears to me that your problem is definitely hardware-, not software-, based. I have a similar setup to yours: AthlonXP 1800, 256MB DDR333 Crucial RAM, EPoX 8K5A2 (KT333 chipset), but none of the problems. Usually random segfaults (in any app) are caused by bad RAM, but you said you replaced yours. The only thing left to do is to replace other components... Start with the hard drive (make sure it's not over-heating). Then the CPU. Anecdote: I had a really old Pentium MMX that ran for days without a fan. Later on, I noticed that gcc crapped out at random points. -- Karol Pietrzak <noodlez84@earthlink.net> PGP KeyID: 3A1446A0