Re: c++: Internal error: Killed: 9 (program ld)

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Thu, 07 Oct 2010 13:51:06 +0200
On 2010-10-07 12:51, Dmitry Krivenok wrote:
> I run ld under gdb and found the place where it fails:
...
> Program received signal SIGKILL, Killed.
> 0x000000000042e093 in bfd_elf_final_link (abfd=0x800915140, info=0x66c900)
>      at /usr/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/elflink.c:7247
> 7247                          ext_size = elf_section_data
> (sec)->rel_hdr.sh_size;

Since you are getting SIGKILL, not SIGSEGV, it suggests that you may be
running out of memory, and ld is killed.  Can you check memory/swap
usage during this linking?  You should also see messages in the system
logs, if programs are killed because of memory exhaustion.
Received on Thu Oct 07 2010 - 09:51:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:08 UTC