[LLVMdev] LTO question

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Dec 26 09:10:45 PST 2014


On 26 December 2014 at 11:52, David Chisnall
<David.Chisnall at cl.cam.ac.uk> wrote:
> On 26 Dec 2014, at 17:36, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:
>
>> It has been some time since I last tried, but I used to build it with
>> LTO both on linux and OS X.
>
> With how much RAM?  Last time we tried building the FreeBSD kernel with LTO, I believe it took around 20GB of RAM to complete (and then the result didn't boot, but that's a separate issue).  Whether that counts as 'being able to handle it' depends a lot on whether you think that 20GB of RAM is a reasonable amount for a build machine.  Given the amount of complaining that happened when Microsoft's LTO implementation wasn't able to handle Firefox on 32-bit machines, I suspect that the answer for a lot of people would be 'no'.

It was on a MacBook pro a couple of years old by now, so I would guess 8GB.

Cheers,
Rafael




More information about the llvm-dev mailing list