From owner-svn-ports-head@freebsd.org Sat Feb 27 18:19:16 2021 Return-Path: Delivered-To: svn-ports-head@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 61E5B54F5D0; Sat, 27 Feb 2021 18:19:16 +0000 (UTC) (envelope-from mfechner@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 4DnvtX2KnHz3kDs; Sat, 27 Feb 2021 18:19:16 +0000 (UTC) (envelope-from mfechner@freebsd.org) Received: from [IPv6:2a02:6d40:36e4:3b01:613a:7f6:9875:78f3] (unknown [IPv6:2a02:6d40:36e4:3b01:613a:7f6:9875:78f3]) (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 BB7ADE9EF; Sat, 27 Feb 2021 18:19:15 +0000 (UTC) (envelope-from mfechner@freebsd.org) Subject: Re: svn commit: r566642 - head/databases/mongodb42 To: Piotr Kubaj , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org References: <202102262349.11QNnVgK053375@repo.freebsd.org> From: Matthias Fechner Message-ID: <9ff05a31-d8e0-cfae-f97b-52b7ed78ca52@freebsd.org> Date: Sat, 27 Feb 2021 19:19:14 +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: <202102262349.11QNnVgK053375@repo.freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2021 18:19:16 -0000 Am 27.02.2021 um 00:49 schrieb Piotr Kubaj: > Log: > databases/mongodb42: add LTO option and enable it > > Add a new option, for using LTO. > > As with mongodb44, make it the default. > > mongodb42 tries to used gold with LTO enabled, so explicitly tell it to use lld. > > PR: 253802 > Approved by: ronald-lists@klop.ws (maintainer) if I try to build this, the linker is called after it consumed about 20GB of ram. Feb 27 13:51:40 server kernel: pid 81432 (ld.lld), jid 263, uid 0, was killed: out of swap space Can you build the port? 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