[llvm-bugs] [Bug 47050] New: 14 GB of storage and memory is not enough to build Clang 10

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Aug 8 03:44:37 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=47050

            Bug ID: 47050
           Summary: 14 GB of storage and memory is not enough to build
                    Clang 10
           Product: clang
           Version: 10.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: noloader at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

I'm working on Gentoo26 in a VM with 2 cores. The machine has 7.5 GB of free
disk space, 2 GB of RAM and 4 GB of swap.

The combined memory and storage is approximately 14 GB, but it is not enough to
build Clang. 'emerge llvm clang' consistently fails even after 'rm -rf
/var/tmp/*'.

The tail of the build is:

/usr/bin/x86_64-pc-linux-gnu-ar: lib64/libLLVMX86CodeGen.a: No space left on
device
ninja: build stopped: subcommand failed.
 * ERROR: sys-devel/llvm-10.0.0::gentoo failed (compile phase):
 *   ninja -v -j3 -l0 failed
 ...

I think something is really sideways here. There is an abundance of free space;
but the build seems to be incredibly wasteful.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200808/5282325c/attachment.html>


More information about the llvm-bugs mailing list