[llvm-dev] (Thin)LTO llvm build

Carsten Mattner via llvm-dev llvm-dev at lists.llvm.org
Mon Sep 26 07:16:30 PDT 2016

On Mon, Sep 26, 2016 at 3:52 PM, Teresa Johnson <tejohnson at google.com> wrote:
> ThinLTO needs to create as many temporary files as there are input
> modules to the link. From your 'ls' below, it doesn't look like there is
> an incredibly huge amount already created, can you check your limits?
> What is the output of:
> $ ulimit -n
> and
> $ sysctl fs.file-max

Sorry for the noise, forgot to verify because I had assumed it was
still set to 4096 from a similar change a couple days ago.
Alas, it's just 1024 in this session. Given the # of object files,
2048 looks more than enough. Going to re-run with that.

More information about the llvm-dev mailing list