svn commit: r566642 - head/databases/mongodb42

Piotr Kubaj pkubaj at anongoth.pl
Sat Feb 27 18:38:07 UTC 2021


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
> >    
> >    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 at 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
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20210227/13b86cc4/attachment.sig>


More information about the svn-ports-all mailing list