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; 11+ 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] 11+ messages in thread

* Re: [Re: gcc: internal compiler error: program cc1 got fatal signal 11]
  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-06-29 15:39 ` gcc: internal compiler error: program cc1 got fatal signal 11 David Relson
  1 sibling, 2 replies; 11+ messages in thread
From: szonyi calin @ 2001-06-29 14:20 UTC (permalink / raw)
  To: Jesse Pollard; +Cc: linux-kernel


--- 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 ?

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...)


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))

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 ?

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

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

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

* Re: gcc: internal compiler error: program cc1 got fatal signal 11
  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 15:39 ` David Relson
  1 sibling, 0 replies; 11+ messages in thread
From: David Relson @ 2001-06-29 15:39 UTC (permalink / raw)
  To: szonyi calin; +Cc: linux-kernel

At 10:20 AM 6/29/01, you wrote:

>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 ?
>
>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...)
>
>
>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))

All versions of gcc have bugs.  They generally show up as incorrect 
complaints about the source code, as generated code that is less than 
optimal or that is flat out wrong.  With this kind of bug, if you compile 
the program twice you'll get the same (buggy) result.

Sig 11 is a bit different.  With a compiler bug causing the sig 11, the 
problem will happen EVERY time you compile the given file - because the 
compiler is busted.  This kind of problem is detected early in the 
compiler's life cycle and gets fixed.

Then there are the intermittent sig 11 errors.  If the software was broken, 
the sig 11 would happen whenever you do the same thing.  Being able to 
compile a bunch of files, get a sig 11, compile a bunch more, sig 11, a 
bunch more ... is a sign that the problem isn't the compiler.  Peoples' 
experience over the years has shown that symptoms of this type are cause by 
(intermittent) hardware problems.

Why does this affect gcc more than other programs?  Because gcc uses 
gazillions of pointers and bad memory causes bad pointers causes sig 11.

Hope this helps.

David

P.S.  Years ago, installing OS/2 on an apparently 100% working system would 
show similar problems.  OS/2 was the first widely used 32 bit operating 
system on Intel hardware.  It exercised the hardware differently from DOS, 
Windows, etc and flaky memory would make itself known.  The usual reaction 
was "But my system worked fine before OS/2...."  The response was 
"different software exercises the hardware differently and may reveal 
unsuspected problems".
--------------------------------------------------------
David Relson                   Osage Software Systems, Inc.
relson@osagesoftware.com       Ann Arbor, MI 48103
www.osagesoftware.com          tel:  734.821.8800


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

* Re: [Re: gcc: internal compiler error: program cc1 got fatal signal 11]
  2001-06-29 14:20 ` szonyi calin
@ 2001-06-29 18:53   ` Albert D. Cahalan
  2001-07-01 23:25   ` H. Peter Anvin
  1 sibling, 0 replies; 11+ messages in thread
From: Albert D. Cahalan @ 2001-06-29 18:53 UTC (permalink / raw)
  To: szonyi calin; +Cc: Jesse Pollard, linux-kernel

> 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 ?
...
> 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 ?

It could be. One possible way:

1. your system is clogged with dust
2. gcc runs the CPU hard, generating lots of heat
3. the heat causes crashes
4. a new Linux version that sets a Cyrix-specific power-saving mode
5. your heat problems go away, and so do the crashes

Another possible way:

1. you have buggy motherboard or disk hardware
2. when you swap, gcc gets corrupted by the hardware
3. you get a new Linux kernel that has a bug work-around
4. your problems go away

Yet another way:

1. your room is hot, your computer is near a huge motor...
2. you upgrade to Linux 2.2.12 and move your computer
3. soon you realize that the crashes are gone
4. you credit the kernel, but location was the problem

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

* Re: [Re: gcc: internal compiler error: program cc1 got fatal signal 11]
  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
  1 sibling, 1 reply; 11+ messages in thread
From: H. Peter Anvin @ 2001-07-01 23:25 UTC (permalink / raw)
  To: linux-kernel

Followup to:  <20010629142055.49246.qmail@web13907.mail.yahoo.com>
By author:    szonyi calin <caszonyi@yahoo.com>
In newsgroup: linux.dev.kernel
> 
> 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 ?
> 

gcc happens to be one of the best memory testers known to man -- much
better than most other programs.  A big reason for that is that it
accesses lots of memory in funny patterns, *AND* accesses to it are
likely to be fatal.

It is just the way it is.  gcc doing the signal 11 is HIGHLY
correlated with the hardware you are running on, which means it's
*usually* hardware-related.

> [... Lots of M$ flames ignored ...]

> 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 ?
> 
> I think the last answer is more obvious.(or the gcc
> had a bug and the kernel -- a workaround).

Most likely is that your *hardware* had a bug and the new kernel a
workaround (this is quite common), but without more detail it is very
hard to know.

	-hpa
-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt

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

* Re: [Re: gcc: internal compiler error: program cc1 got fatal signal 11]
  2001-07-01 23:25   ` H. Peter Anvin
@ 2001-07-02  0:00     ` Riley Williams
  2001-07-02  0:01       ` H. Peter Anvin
  0 siblings, 1 reply; 11+ messages in thread
From: Riley Williams @ 2001-07-02  0:00 UTC (permalink / raw)
  To: H. Peter Anvin; +Cc: Linux Kernel

Hi HPA.

 >> 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 ?

 >> I think the last answer is more obvious.(or the gcc had a bug
 >> and the kernel -- a workaround).

 > Most likely is that your *hardware* had a bug and the new kernel
 > a workaround (this is quite common), but without more detail it
 > is very hard to know.

Wasn't 2.2.12 the kernel that included the `lock halt` bug patch?

Best wishes from Riley.


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

* Re: [Re: gcc: internal compiler error: program cc1 got fatal signal 11]
  2001-07-02  0:00     ` Riley Williams
@ 2001-07-02  0:01       ` H. Peter Anvin
  2001-07-02  0:18         ` Riley Williams
  0 siblings, 1 reply; 11+ messages in thread
From: H. Peter Anvin @ 2001-07-02  0:01 UTC (permalink / raw)
  To: Riley Williams; +Cc: Linux Kernel

Riley Williams wrote:

> 
> Wasn't 2.2.12 the kernel that included the `lock halt` bug patch?
> 


Perhaps, but is has absolutely nothing to do with the rest of this 
discussion.

	-hpa



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

* Re: [Re: gcc: internal compiler error: program cc1 got fatal signal 11]
  2001-07-02  0:01       ` H. Peter Anvin
@ 2001-07-02  0:18         ` Riley Williams
  2001-07-02  0:21           ` H. Peter Anvin
  0 siblings, 1 reply; 11+ messages in thread
From: Riley Williams @ 2001-07-02  0:18 UTC (permalink / raw)
  To: H. Peter Anvin; +Cc: Linux Kernel

Hi Peter.

 >> Wasn't 2.2.12 the kernel that included the `lock halt` bug patch?

 > Perhaps, but is has absolutely nothing to do with the rest of
 > this discussion.

The `lock halt` bug patch was specific to the Cyrix processors (not to
be confused with the `lock registers` patch for the Intel processors,
and I noted that the processor in question was a Cyrix one, hence the
comment.

Best wishes from Riley.


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

* Re: [Re: gcc: internal compiler error: program cc1 got fatal signal 11]
  2001-07-02  0:18         ` Riley Williams
@ 2001-07-02  0:21           ` H. Peter Anvin
  2001-07-02  0:27             ` Riley Williams
  0 siblings, 1 reply; 11+ messages in thread
From: H. Peter Anvin @ 2001-07-02  0:21 UTC (permalink / raw)
  To: Riley Williams; +Cc: Linux Kernel

Riley Williams wrote:

> Hi Peter.
> 
>  >> Wasn't 2.2.12 the kernel that included the `lock halt` bug patch?
> 
>  > Perhaps, but is has absolutely nothing to do with the rest of
>  > this discussion.
> 
> The `lock halt` bug patch was specific to the Cyrix processors (not to
> be confused with the `lock registers` patch for the Intel processors,
> and I noted that the processor in question was a Cyrix one, hence the
> comment.
> 


Oh.  Sorry, I don't know about "lock halt" and its effects.  However, if 
it refers to the instruction sequence LOCK HLT I find it hard to believe 
it would have the symptoms described.

	-hpa



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

* Re: [Re: gcc: internal compiler error: program cc1 got fatal signal 11]
  2001-07-02  0:21           ` H. Peter Anvin
@ 2001-07-02  0:27             ` Riley Williams
  0 siblings, 0 replies; 11+ messages in thread
From: Riley Williams @ 2001-07-02  0:27 UTC (permalink / raw)
  To: H. Peter Anvin; +Cc: Linux Kernel

Hi Peter.

 >>>> Wasn't 2.2.12 the kernel that included the `lock halt` bug patch?

 >>> Perhaps, but is has absolutely nothing to do with the rest of
 >>> this discussion.

 >> The `lock halt` bug patch was specific to the Cyrix processors
 >> (not to be confused with the `lock registers` patch for the
 >> Intel processors, and I noted that the processor in question was
 >> a Cyrix one, hence the comment.

 > Oh.  Sorry, I don't know about "lock halt" and its effects.
 > However, if it refers to the instruction sequence LOCK HLT I
 > find it hard to believe it would have the symptoms described.

I don't have the paperwork to hand, and my memory isn't brilliant, but
the bug was something along the lines of Cyrix processors trashing the
SP if the instruction preceding (or following, I'm not sure which) a
HLT opcode was locked, and the patch was to remove some instances in
the kernel source where that occurred.

It's quite possibly unrelated, but...

Best wishes from Riley.


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

* gcc: internal compiler error: program cc1 got fatal signal 11
@ 2001-06-29  4:59 Blesson Paul
  0 siblings, 0 replies; 11+ messages in thread
From: Blesson Paul @ 2001-06-29  4:59 UTC (permalink / raw)
  To: linux-kernel

hi
                  I am trying to compile the kernel2.4.5 source code. 
Presently I have kernel2.2.14 and Redhat6.2. I have egcs1.2.2.  Now when I
compile I will get the following error 
 gcc: Internel compiler error: program 	 cc1 got fatal signal 11
 make Error 1
 Leaving directory ...
 ..........
 .............
 Assembler messages 
 Warning: end of file not at end of file: newline inserted 
 cpp: output pipe has been closed 
  Error: suffix or operands invalid for mov   
		Here  cofusion part is that, when I recompile, the same part where this
error occured will compile perfectly. But again after some compilation, the
same error will show in any other place. The last line in the error statement
may be different in the second time.                   
 
                           Moreover my cpu info in given below. I have given
processor i486. Is there any particular choice should be made to compile
kernel source code
                         
processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 5
model		: 8
model name	: AMD-K6(tm) 3D processor
stepping	: 12
cpu MHz		: 400.921117
fdiv_bug	: no
hlt_bug		: no
sep_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr mce cx8 sep mtrr pge mmx 3dnow
bogomips	: 799.54


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

end of thread, other threads:[~2001-07-02  0:27 UTC | newest]

Thread overview: 11+ 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-06-29  4:59 Blesson Paul

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).