Hi, Thanks for suggestions. Hard drive is OK, I am sure, other components seem to be, too, because Win XP works without problem. I even disabled some options in the BIOS (like PnP OS Installed, ACPI. etc.), disabled some extra features in the kernel, updated glibc and reinstalled gcc, but random gcc segfaults still randomly occur. gcc segfaults even occur even if I boot in safe mode. Strange enough, other Linux software and Linux itself work OK, I have put the whole system under heavy CPU and disk load for the whole night, it did not crash or freeze, and components like CPU or HD have not been overheated. PS. I am already completely disassembled my PC twice, replaced RAM, CPU fan and all cables, gcc still randomly aborts with segfault.
Just a suggestion, try to 'secure' all the component as your cooling fans or other stuff may create too much vibration to the contact points. Also, clean all the contact points with a pencil soft eraser.
Good luck. Dennis
On Tue, 2002-12-17 at 00:44, Karol Pietrzak wrote:
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.
********************************************* * Best Regards --- Andrei Verovski * * Personal Home Page * http://snow.prohosting.com/guru4mac * Mac, Linux, DTP, Development, IT WEB Site *********************************************