This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc: Internal error: Segmentation fault (program as)


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]