linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [Re: gcc: internal compiler error: program cc1 got fatal signal 11]
@ 2001-06-29 12:48 Jesse Pollard
  2001-06-29 14:20 ` szonyi calin
  2001-06-29 15:39 ` gcc: internal compiler error: program cc1 got fatal signal 11 David Relson
  0 siblings, 2 replies; 14+ messages in thread
From: Jesse Pollard @ 2001-06-29 12:48 UTC (permalink / raw)
  To: blessonpaul, linux-kernel

> 
> 
> "This is almost always the result of flakiness in your hardware - either
> RAM (most likely), or motherboard (less likely).  "
>                          
>                               I cannot understand this. There are many other
> stuffs that I compiled with gcc without any problem. Again compilation is only
> a application. It  only parse and gernerates object files. How can RAM or
> motherboard makes different

It's most likely flackey memory.

Remember- a single bit that dropps can cause the signal 11. It doesn't have
to happen consistently either. I had the same problem until I slowed down
memory access (that seemd to cover the borderline chip).

The compiler uses different amounts of memory depending on the source file,
number of symbols defined (via include headers). When the multiple passes
occur simultaneously, there is higher memory pressure, and more of the
free space used. One of the pages may flake out. Compiling the kernel
puts more pressure on memory than compiling most applications.

-------------------------------------------------------------------------
Jesse I Pollard, II
Email: pollard@navo.hpc.mil

Any opinions expressed are solely my own.

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: [Re: gcc: internal compiler error: program cc1 got fatal signal 11]
@ 2001-07-03  5:51 Tha Phlash
  0 siblings, 0 replies; 14+ messages in thread
From: Tha Phlash @ 2001-07-03  5:51 UTC (permalink / raw)
  To: linux-kernel

Ive also had a problem with signal 11, heres a great page explaining the aspects of signal 11 error from gcc (http://www.bitwizard.nl/sig11/).

Signal 11 is usually a hardware problem, as the article points out. I found a sloppy soulution playing with my BIOS settings, turns out there was an option called "Memory Hole at 15Mb Addr." I enabled it and i got no more sig11, however when I boot up, Linux only recognizes like 13Mb of my 64Mb of RAM. 

Anyway, there are my 2 cents.

Luis <phlash>
-- 

_______________________________________________
FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

FREE PC-to-Phone calls with Net2Phone
http://www.net2phone.com/cgi-bin/link.cgi?121






^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: [Re: gcc: internal compiler error: program cc1 got fatal signal 11]
@ 2001-06-29 16:28 Jesse Pollard
  0 siblings, 0 replies; 14+ messages in thread
From: Jesse Pollard @ 2001-06-29 16:28 UTC (permalink / raw)
  To: caszonyi, Jesse Pollard; +Cc: linux-kernel

---------  Received message begins Here  ---------

> 
> 
> --- Jesse Pollard <pollard@tomcat.admin.navo.hpc.mil>
> wrote:
> > > 
> > > 
> > > "This is almost always the result of flakiness in
> > your hardware - either
> > > RAM (most likely), or motherboard (less likely). 
> > "
> > >                          
> > >                               I cannot understand
> > this. There are many other
> > > stuffs that I compiled with gcc without any
> > problem. Again compilation is only
> > > a application. It  only parse and gernerates
> > object files. How can RAM or
> > > motherboard makes different
> > 
> > It's most likely flackey memory.
> > 
> > Remember- a single bit that dropps can cause the
> > signal 11. It doesn't have
> > to happen consistently either. I had the same
> > problem until I slowed down
> > memory access (that seemd to cover the borderline
> > chip).
> > 
> > The compiler uses different amounts of memory
> > depending on the source file,
> > number of symbols defined (via include headers).
> > When the multiple passes
> > occur simultaneously, there is higher memory
> > pressure, and more of the
> > free space used. One of the pages may flake out.
> > Compiling the kernel
> > puts more pressure on memory than compiling most
> > applications.
> > 
> >
> -------------------------------------------------------------------------
> > Jesse I Pollard, II
> > Email: pollard@navo.hpc.mil
> > 
> > Any opinions expressed are solely my own.
> > -
> > To unsubscribe from this list: send the line
> > "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at 
> > http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at  http://www.tux.org/lkml/
> 
> Almost always ?
> It seems like gcc is THE ONLY program which gets
> signal 11
> Why the X server doesn't get signal 11 ?
> Why others programs don't get signal 11 ?

Load the system down with lots of processes/large
image windows. Unless the bit in question is in
a pointer, or data used in pointer arithmetic or function call
it won't
segfault. Applications (if an instruction page gets hit)
may get an illegal instruction.

> I remember that once Bill Gates was asked about
> crashes in windows and he said: It's a hardware
> problem.
> It was also a joke on that subject:
> Winerr xxx: Hardware problem (it's not our fault, it's
> not, it's not, it's not, it's not...)

Yup - because it crashed VERY frequently when it was obviously a
software bug.

> Seems to me like Micro$oft way of handling problems.
> 
> We must agree that gcc is full of bugs (xanim does not
> 
> run corectly if it is compiled with gcc 2.95.3 
> and other programs which use floating point
> calculations do the same (spice 3f5))

Generating wrong code is different than a segfault.

Currently I'm using egcs-2.91.66 on a 486, without problems.
(I don't do floating point on a 486... too slow).

> Some time ago I installed Linux (Redhat 6.0) on my 
> pc (Cx486 8M RAM) and gcc had a lot of signal 11 (a
> couple every hour) I was upgrading
> the kernel every time there was a new kernel and
> from 2.2.12(or 14) no more signal 11 (very rare)
> Is this still a hardware problem ?
> Was a bug in kernel ?

Not likely - It could just depend on whether all of available
was used. If the physical page with the problem doesn't get used
very often, it won't show up. If the bit in question is not part
of a pointer, or used in pointer arithmetic, again it won't show
up (actually, any operation on addresses). Wrong, or slightly wrong
results MAY show up.

> I think the last answer is more obvious.(or the gcc
> had a bug and the kernel -- a workaround).
> 
> Sorry for bothering you but in every piece of linux
> documentation signal 11 seems to be __identic__ with
> hardware problem.
> Bye

Only when it appears in random location.

GCC is a fairly well debugged program and doesn't segfault
unless you run out of memory, or flakey memory.

-------------------------------------------------------------------------
Jesse I Pollard, II
Email: pollard@navo.hpc.mil

Any opinions expressed are solely my own.

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: [Re: gcc: internal compiler error: program cc1 got fatal signal 11]
@ 2001-06-29  5:23 Blesson Paul
  2001-06-29  7:29 ` Erik Mouw
  0 siblings, 1 reply; 14+ messages in thread
From: Blesson Paul @ 2001-06-29  5:23 UTC (permalink / raw)
  To: linux-kernel


"This is almost always the result of flakiness in your hardware - either
RAM (most likely), or motherboard (less likely).  "
                         
                              I cannot understand this. There are many other
stuffs that I compiled with gcc without any problem. Again compilation is only
a application. It  only parse and gernerates object files. How can RAM or
motherboard makes different
                          


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2001-07-03  5:52 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-29 12:48 [Re: gcc: internal compiler error: program cc1 got fatal signal 11] Jesse Pollard
2001-06-29 14:20 ` szonyi calin
2001-06-29 18:53   ` Albert D. Cahalan
2001-07-01 23:25   ` H. Peter Anvin
2001-07-02  0:00     ` Riley Williams
2001-07-02  0:01       ` H. Peter Anvin
2001-07-02  0:18         ` Riley Williams
2001-07-02  0:21           ` H. Peter Anvin
2001-07-02  0:27             ` Riley Williams
2001-06-29 15:39 ` gcc: internal compiler error: program cc1 got fatal signal 11 David Relson
  -- strict thread matches above, loose matches on Subject: below --
2001-07-03  5:51 [Re: gcc: internal compiler error: program cc1 got fatal signal 11] Tha Phlash
2001-06-29 16:28 Jesse Pollard
2001-06-29  5:23 Blesson Paul
2001-06-29  7:29 ` Erik Mouw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).