c++: Internal error: Killed: 9 (program ld)
Dimitry Andric
dim at FreeBSD.org
Thu Oct 7 11:51:04 UTC 2010
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.
More information about the freebsd-current
mailing list