Signal 11 and RH6.2
llewelly@dbritsch.dsl.xmission.com
llewelly@dbritsch.dsl.xmission.com
Mon Jul 10 13:55:00 GMT 2000
On Mon, 10 Jul 2000, Victor wrote:
> Hi. I installed RH 6.2 on my machine (AMD K6-2 500, MVP4, Crucial ECC
> 128Meg RAM, Maxtor HDD). The compilere version is egcs 2.91.66 Every
> time I want to compile somthing I get an error in ccp or cpp and get a
> Signal 11. I was told that signal 11 means either memory or hardware
> problem. I changed memory sticks, still, same thing.
>
> I installed TurboLinux Server 6.0.2 (it has gcc 2.95.2) and I have
> absolutely no problems.
Have you done any large builds? (linux kernel size or bigger) Hardware
problems often do not show up for installs and small builds.
>
> As I see it, the problem seems to be the compiler. Anyone have similar
> issues with EGCS on MVP4 or other via chipsets? What is the relationship
> between egcs and gcc? Why does redhat use egcs instead of gcc? Is one
> better? I get a feeling that the two were merged.
Yes. egcs and gcc were merged to become the current gcc. See gcc.gnu.org
for more info.
I believe redhat uses egcs-2.91.66 because gcc-2.95.2 uses a different ABI
for C++ programs, and redhat did not want an ABI breakage, even if it
only affected C++ programs.
>
> I want to run RH6.2 but how do I upgrade that compiler? When I wanted to
> compile gcc2.95.2 I (obviously) got signal 11. How do you upgrade from
> egcs to gcc? What I mean is how do I know that all the header files and
> libraries are updated?
>
> Thanks for any info
> Victor
I did it by building gcc 2.95.2 with egcs-2.91.66 . If you get sig11 while
building gcc 2.95.2 with egcs-2.91.66, you probably have a hardware
problem.
Note that gcc 2.95.x and egcs-2.91.66 have different C++ ABIs (due to an
MI bugfix, I belive). So you must ensure that all parts of a C++ program
are built with the same compiler. (this does not affect C.)
More information about the Gcc-help
mailing list