From owner-svn-ports-all@freebsd.org Sun Feb 28 09:30:20 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D08385657F5; Sun, 28 Feb 2021 09:30:20 +0000 (UTC) (envelope-from mfechner@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DpJ5m5cpcz3Lwt; Sun, 28 Feb 2021 09:30:20 +0000 (UTC) (envelope-from mfechner@freebsd.org) Received: from [IPv6:2a02:6d40:36e6:9c01:9506:a408:842b:92e5] (unknown [IPv6:2a02:6d40:36e6:9c01:9506:a408:842b:92e5]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: mfechner) by smtp.freebsd.org (Postfix) with ESMTPSA id 3572125A94; Sun, 28 Feb 2021 09:30:20 +0000 (UTC) (envelope-from mfechner@freebsd.org) Subject: Re: svn commit: r566642 - head/databases/mongodb42 To: Piotr Kubaj Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org References: <202102262349.11QNnVgK053375@repo.freebsd.org> <9ff05a31-d8e0-cfae-f97b-52b7ed78ca52@freebsd.org> From: Matthias Fechner Message-ID: Date: Sun, 28 Feb 2021 10:30:18 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2021 09:30:20 -0000 Am 27.02.2021 um 19:38 schrieb Piotr Kubaj: > Yes, it takes around 30GB RAM to link it with LTO. thanks, I stopped all high memory consumers, increase swap to 30GB and I could build the package now (system has 24GB RAM). Maybe disable parallel build to not have two linkers running at once (which I also saw while building). Maybe add a note to the LTO description that it needs about 24GB of RAM (this was the amount it required here). This will maybe prevent users from writing PRs. Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook