This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Seg faults/Internal compiler errors when using Linux swapfil


  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]