Date: Thu, 07 Oct 2010 13:51:06 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: Dmitry Krivenok <krivenok.dmitry@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: c++: Internal error: Killed: 9 (program ld) Message-ID: <4CADB42A.2000605@FreeBSD.org> In-Reply-To: <AANLkTikoSU%2B1P%2BMK39QP-ALOU%2BiQhNrdsCRgeg0v2D%2BN@mail.gmail.com> References: <AANLkTina9-oWOj4L-sFcYTWAfS8y%2B9Y=WWwTEk53Ghdz@mail.gmail.com> <4CAD986B.6010107@FreeBSD.org> <AANLkTikoSU%2B1P%2BMK39QP-ALOU%2BiQhNrdsCRgeg0v2D%2BN@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CADB42A.2000605>