Yes, you are right. I see a lot of messages like below in dmesg output: swap_pager_getswapspace(5): failed swap_pager_getswapspace(2): failed swap_pager_getswapspace(2): failed swap_pager_getswapspace(2): failed swap_pager_getswapspace(2): failed swap_pager_getswapspace(2): failed swap_pager_getswapspace(2): failed swap_pager_getswapspace(2): failed pid 50038 (ld), uid 0, was killed: out of swap space pid 60947 (sshd), uid 1001, was killed: out of swap space swap_pager: out of swap space swap_pager_getswapspace(16): failed pid 50872 (ld), uid 0, was killed: out of swap space swap_pager: out of swap space swap_pager_getswapspace(2): failed pid 51222 (ld), uid 0, was killed: out of swap space swap_pager: out of swap space swap_pager_getswapspace(16): failed pid 51240 (ld), uid 0, was killed: out of swap space Perhaps I just need to add more swap and memory: krived_at_csx-spb-freebsd9 15:54:47 ~ $ [0] swapinfo Device 1K-blocks Used Avail Capacity /dev/da0s1b 500000 499992 8 100% krived_at_csx-spb-freebsd9 15:54:49 ~ $ [0] Thanks! On Thu, Oct 7, 2010 at 3:51 PM, Dimitry Andric <dim_at_freebsd.org> wrote: > 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. > -- Sincerely yours, Dmitry V. Krivenok e-mail: krivenok.dmitry_at_gmail.com skype: krivenok_dmitry jabber: krivenok_dmitry_at_jabber.ru icq: 242-526-443Received on Thu Oct 07 2010 - 09:57:14 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:08 UTC