Re: Kernel build fails on ARM: Cannot fork: Cannot allocate memory

From: Andrey Fesenko <f0andrey_at_gmail.com>
Date: Wed, 19 Jun 2013 22:22:42 +0400
On Wed, Jun 19, 2013 at 10:15 PM, Zbyszek Bodek <zbb_at_semihalf.com> wrote:
> Hello,
>
> I've been trying to compile the kernel on my ARMv7 platform using the
> sources from the current FreeBSD HEAD.
>
> make buildkernel <.....> -j5
>
> 1/2 builds fails in the way described below:
> --------------------------------------------------------------------------
> ing-include-dirs -fdiagnostics-show-option   -nostdinc  -I.
> -I/root/src/freebsd-arm-superpages/sys
> -I/root/src/freebsd-arm-superpages/sys/contrib/altq
> -I/root/src/freebsd-arm-superpages/sys/contrib/libfdt -D_KERNEL
> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
> -finline-limit=8000 --param inline-unit-growth=100 --param
> large-function-growth=1000  -mno-thumb-interwork -ffreestanding -Werror
>  /root/src/freebsd-arm-superpages/sys/ufs/ffs/ffs_snapshot.c
> Cannot fork: Cannot allocate memory
> *** [ffs_snapshot.o] Error code 2
> 1 error
> *** [buildkernel] Error code 2
> 1 error
> *** [buildkernel] Error code 2
> 1 error
> 5487.888u 481.569s 7:35.65 1310.0%      1443+167k 1741+5388io 221pf+0w
> --------------------------------------------------------------------------
>

-j5 tricky :) I think it is necessary to build one may be in two
streams, as well as make the swap
Received on Wed Jun 19 2013 - 16:22:43 UTC

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