gcc: Internal error: Segmentation fault (program as)

Ian Lance Taylor iant@google.com
Tue Jan 6 21:34:00 GMT 2009


Brian <Brian.Mingus@colorado.edu> writes:

>     as: Symbol `i386_regtab' has different size in shared object,
> consider re-linking
>     as: Symbol `i386_optab' has different size in shared object,
> consider re-linking
>     gcc: Internal error: Segmentation fault (program as)

This means that the assembler has crashed with a segmentation
violation.  The assembler is actually an external program, it is not
part of gcc.  On GNU/Linux, the assembler is part of the GNU binutils
(http://sourceware.org/binutils/).

That said, this error is actually coming from the dynamic linker, not
from the assembler proper.  It is telling you that 1) your assembler
was dynamically linked against libopcodes.so; 2) the version of the
assembler and the version of libopcodes.so are not in sync.

Either you built the assembler yourself, in which case rebuild it but
don't use --enable-shared when you run configure, or something weird
is happening.

Ian



More information about the Gcc-help mailing list