When building piglit for i586 and x32 targets on Ubuntu 17.04 do_compile fails. Logs at: https://bugzilla.yoctoproject.org/attachment.cgi?id=3803 https://bugzilla.yoctoproject.org/attachment.cgi?id=3804
> cc1: out of memory allocating 383299568 bytes after a total of 4548345856 bytes > internal compiler error: Killed (program cc1) So running out of memory. 4.5 Gb does sound excessive.
> > cc1: out of memory allocating 383299568 bytes after a total of 4548345856 bytes > > > internal compiler error: Killed (program cc1) > > So running out of memory. 4.5 Gb does sound excessive. Well, I kept an eye on a normal build and ... it does seem to use Gigabytes of memory. Did the VM have less memory than autobuilders typically do?
(In reply to comment #2) > Did the VM have less memory than autobuilders typically do? That might have been a meaningless question: piglit probably isn't part of any autobuilder images (unless there's a world build).
According to the blocked bug # 11608 this is during a nightly-world: "Ubuntu17.04 past all test-matrix except nightly-world, you said that this issue is because the host is running out of memory and OOMing the webkit build, but the host has 32Gb of RAM."
Closing as not a bug: the test machine had less swap than the current autobuilder instances and run out of memory. Both piglit and especially webkit have very high peak memory usage: 32 GB may not be enough for a world build if large values of PARALLEL_MAKE are used.