From owner-svn-ports-head@freebsd.org Sat Feb 27 18:38:07 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 93CFB55007B; Sat, 27 Feb 2021 18:38:07 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Received: from mail.anongoth.pl (mail.anongoth.pl [46.248.190.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X448 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "anongoth.pl", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DnwJH341Zz3lht; Sat, 27 Feb 2021 18:38:07 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Received: from anongoth.pl (unknown [192.168.1.15]) (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 did not present a certificate) (Authenticated sender: pkubaj@anongoth.pl) by mail.anongoth.pl (Postfix) with ESMTPSA id 8BDDAC1C23; Sat, 27 Feb 2021 19:38:04 +0100 (CET) Date: Sat, 27 Feb 2021 19:38:03 +0100 From: Piotr Kubaj To: Matthias Fechner Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r566642 - head/databases/mongodb42 Message-ID: References: <202102262349.11QNnVgK053375@repo.freebsd.org> <9ff05a31-d8e0-cfae-f97b-52b7ed78ca52@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="sqmPylavT+sjbkK3" Content-Disposition: inline In-Reply-To: <9ff05a31-d8e0-cfae-f97b-52b7ed78ca52@freebsd.org> X-Rspamd-Queue-Id: 4DnwJH341Zz3lht X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] 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:38:07 -0000 --sqmPylavT+sjbkK3 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Yes, it takes around 30GB RAM to link it with LTO. On 21-02-27 19:19:14, Matthias Fechner wrote: > Am 27.02.2021 um 00:49 schrieb Piotr Kubaj: > > Log: > > databases/mongodb42: add LTO option and enable it > > =20 > > Add a new option, for using LTO. > > =20 > > As with mongodb44, make it the default. > > =20 > > mongodb42 tries to used gold with LTO enabled, so explicitly tell it= to use lld. > > =20 > > PR: 253802 > > Approved by: ronald-lists@klop.ws (maintainer) >=20 > if I try to build this, the linker is called after it consumed about=20 > 20GB of ram. >=20 > Feb 27 13:51:40 server kernel: pid 81432 (ld.lld), jid 263, uid 0, was=20 > killed: out of swap space >=20 > Can you build the port? >=20 > Gru=C3=9F > Matthias >=20 > --=20 >=20 > "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 >=20 --sqmPylavT+sjbkK3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEycyIeNkkgohzsoorelmbhSCDnJ0FAmA6kYsACgkQelmbhSCD nJ0zCBAAxel0Nkt+AlCz4I0lZTeM8jndH/uUbDDvkBgjHlH0oBgP+cuU74ydrss2 vufisyM0COSLPwE5p8v2sKNm0AQiAvJl7G1bJ/HwRH84JAIg4Ao9IGChkBW8su5y ji4Lv16nSJIeJ+1i77WHKjjJ3WChc7b2s/U0AZn5MKUZ61odcP+paHAWs4H9uPa8 BsXsV71kilbYPZ6LzuuKCNcDtBI2AZ5K8MSChGXoXAa3S9DpxvkudbX76773IRXH Do0iwui7NERTiyY75pssPijCCcwjpKUFfQbIfWrYoUcxYRdZIEPHSyT7n2cYDwrX J+K20fI8kvpZthRza5lYvLI7NtQw7jizrm8PdLTxbdN9IqBzSWMmxN6UPrToHVPc B4zMbSWt0h2c25gDmZh7zOhpPEGCmeE5X8GcXdX+BGPa2UOz0N2WJQY6F31nyzvp Wq6DyUMQcGkhQ5reAB0+ixSj4qPAa0b3m29+yzB16GiBS+I2cP8597hwgAGKlYSb b540/GDWJ//bteUhqMPE8jsLkMFu+l2pmAJMXrXA7odgNmFcEom7VY/nnWs+On7K lKfScqu6D+VcWskuGSapx4e9PsGgCa6f2zC28HXcNzcLNoimQsWZlZxef05N/zaP G44ac15aZCK6gU508jHSTyMfwAVLa5ben5022Dk+2e4T2wPKBMs= =w4ry -----END PGP SIGNATURE----- --sqmPylavT+sjbkK3--