This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Seg faults/Internal compiler errors when using Linux swapfil
- To: John Linebarger <jmlineb at sandia dot gov>
- Subject: Re: Seg faults/Internal compiler errors when using Linux swapfil
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 14 Jul 1998 19:51:29 -0600
- cc: egcs-bugs at cygnus dot com (IPM Return requested)
- Reply-To: law at cygnus dot com
In message <"0640735ABCA9B030*/c=US/admd= /prmd=USDOE/o=SNL/ou=ccmail/s=jmlinb/"@MHS>you write:
>
> You're gonna hate me for the lack of specificity here, but I've been
> using egcs as my compiler for months now, and I've noticed a problem.
>
> At least under Slackware Linux, kernel 2.0.34, with a 64M swap file,
> running on a 233MHz Pentium MMX PC with 64M of main memory and lots of
>
> EIDE hard drive space, here's what I consistently notice:
>
> 1. Seg faults (sig 11) during compilation.
> 2. "Internal compiler error" messages
> 3. "Attempt to remove invalid swap file page" messages (rare)
>
> In *each* case, I simply retype "make," and the compiler just picks up
>
> where it left off. I often have to do this several times in trying to
>
> compile large packages or the Linux kernel.
Smells like bad memory in your PC. Spurious errors are usually a good
indication of this kind of hardware problem.
jeff