Re: Segmentation fault while compiling GCC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



sankar78 <gowrisankar.jayaraman@xxxxxx> writes:

> I'm getting the below error while compiling gcc 3.4.6 . I keep getting this
> segmentation fault on different lines of /bin/sh every time i  try doing a
> make bootstrap.

If you get different errors every time, then the mostly likely cause
is some sort of hardware problem, such as bad RAM.


> make[2]: Entering directory `/apps/gooseflow/gcc-3.4.6/gccobjdir/gcc'
> ./genmodes -h > tmp-modes.h
> /bin/sh: line 1:  4412 Segmentation fault      ./genmodes -h >tmp-modes.h

If the error consistently happens when running "./genmodes" (you can
ignore the "4412") then there is a bug in gcc or there is a bug in the
compiler that you used to build the stage1 compiler.  Or, since this
is x86_64, perhaps there is some problem with running a 64-bit
program, or with the assembler you are using, or with the library you
are using.  In particular, do you have a 64-bit libc installed?

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux