Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 2020 10:58:33 -0600
From:      Eric van Gyzen <eric@vangyzen.net>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   spurious(?) userland malloc/mmap failure
Message-ID:  <f2772a6f-a90a-09ee-dc12-333b55af79f8@vangyzen.net>

next in thread | raw e-mail | index | archive | help
While running head r356494, my buildworld just failed due to an 
apparently spurious userland malloc/mmap failure.

===> usr.bin/finger (all)
objcopy: elf_update() failed: I/O error: Cannot allocate memory
--- all_subdir_usr.bin/finger ---
*** [all_subdir_usr.bin/finger] Error code 2

I ran 'make' in usr.bin/finger, and objcopy succeeded.  I then ran "make 
buildenv" followed by "make clean" and "make" in usr.bin/finger, which 
also worked.

buildworld was running with -j8, and a few C++ things were building 
concurrently, such as googletest and usr.bin/clang/llvm-objdump, so 
maybe the machine was under memory pressure.  It's a bhyve VM with 8 
CPUs and 8 GB RAM.

The full build log is:

https://people.freebsd.org/~vangyzen/2010-01-13-buildworld.txt

Eric



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f2772a6f-a90a-09ee-dc12-333b55af79f8>