This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: gcc: Internal error: Segmentation fault (program as)
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Brian <Brian dot Mingus at colorado dot edu>
- Cc: binutils <binutils at sourceware dot org>
- Date: Tue, 6 Jan 2009 13:23:12 -0800
- Subject: Re: gcc: Internal error: Segmentation fault (program as)
- References: <9839a05c0901061313l4852e930gc0ed513d806056eb@mail.gmail.com>
On Tue, Jan 6, 2009 at 1:13 PM, Brian <Brian.Mingus@colorado.edu> wrote:
> # Description of the problem
>
> I am trying to compile a couple of different software packages. While
> almost all of my compiles work, two of them, one in a php module and
> one in a perl module, result in a segfault.
>
> I apologize for cross-posting this to gcc-help. I did not realize binutils
> had its own list.
>
> # Compiler command and error output
>
> Initiated by `pecl install channel://pecl.php.net/svn-0.5.0'
>
> gcc -I/usr/include/subversion-1 -I/usr/include/apr-1.0 -DLINUX=2
> -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I.
> -I/tmp/pear/temp/svn -DPHP_ATOM_INC
> -I/var/tmp/pear-build-root/
> svn-0.5.0/include
> -I/var/tmp/pear-build-root/svn-0.5.0/main -I/tmp/pear/temp/svn
> -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM
> -I/usr/include/php5/Zend -I/usr/include/php5/ext
> -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -I/usr/include/subversion-1
> -I/usr/include/apr-1.0 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
> -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -g -O2 -c
> /tmp/pear/temp/svn/svn.c -fPIC -DPIC -o .libs/svn.o
> 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)
>
Your assemble is using libopcodes.so which is different from the
one linked against.
--
H.J.