Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Why is (nb)ctfmerge failing when linking larger kernels???



At Wed, 01 Jul 2020 17:57:08 -0700, "Greg A. Woods" <woods%planix.ca@localhost> wrote:
Subject: weird occasional "Resource exhaustion" errors when linking GENERIC_KASLR
>
> I've been using a stock 9.0 amd64 install to build my -current tree and
> found it failing with a "Resource exhaustion" error (also "Out of
> memory") when linking the GENERIC_KASLR kernel.

So even in 9.99.64 ctfmerge fails, especially with the ALL kernel
(though I must admit I haven't tried to build an amd64 ALL kernel for
perhaps a year or so):

       link  ALL/netbsd
NetBSD 9.99.64 (ALL) #0: Thu Jul  2 17:29:25 PDT 2020
   text    data     bss     dec     hex filename
80120264        174291832       8122368 262534464       fa5f540 netbsd
ERROR: nbctfmerge: netbsd.ctf: Cannot finalize temp file: Resource exhaustion: Cannot allocate memory
--- netbsd ---
*** [netbsd] Error code 1

nbmake: stopped in /build/woods/xentastic/current-amd64-amd64-obj/build/src-current/sys/arch/amd64/compile/ALL
1 error

$ ulimit -a
time(cpu-seconds)    unlimited
file(blocks)         unlimited
coredump(blocks)     unlimited
data(kbytes)         8388608
stack(kbytes)        32768
lockedmem(kbytes)    512000
memory(kbytes)       4096000
nofiles(descriptors) 3404
processes            420
threads              2048
vmemory(kbytes)      2097152
sbsize(bytes)        unlimited

--
					Greg A. Woods <gwoods%acm.org@localhost>

Kelowna, BC     +1 250 762-7675           RoboHack <woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost>     Avoncote Farms <woods%avoncote.ca@localhost>

Attachment: pgp1goTXZ0n3T.pgp
Description: OpenPGP Digital Signature



Home | Main Index | Thread Index | Old Index