Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Feb 2021 19:38:03 +0100
From:      Piotr Kubaj <pkubaj@anongoth.pl>
To:        Matthias Fechner <mfechner@freebsd.org>
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:  <YDqRi0Zb68Lg19nf@KGPE-D16>
In-Reply-To: <9ff05a31-d8e0-cfae-f97b-52b7ed78ca52@freebsd.org>
References:  <202102262349.11QNnVgK053375@repo.freebsd.org> <9ff05a31-d8e0-cfae-f97b-52b7ed78ca52@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YDqRi0Zb68Lg19nf>