Bug 11636 - 32bit x86 piglit builds fail on Ubuntu 17.04 host
Summary: 32bit x86 piglit builds fail on Ubuntu 17.04 host
Status: RESOLVED NOTABUG
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: graphics (show other bugs)
Version: 2.4
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.4 M2
Assignee: Jussi Kukkonen
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks: 11608
  Show dependency tree
 
Reported: 2017-06-08 14:52 UTC by Joshua Lock
Modified: 2017-06-13 19:33 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Lock 2017-06-08 14:52:04 UTC
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
Comment 1 Jussi Kukkonen 2017-06-08 15:16:12 UTC
> 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.
Comment 2 Jussi Kukkonen 2017-06-09 12:06:46 UTC
> > 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?
Comment 3 Jussi Kukkonen 2017-06-09 12:08:52 UTC
(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).
Comment 4 Joshua Lock 2017-06-09 12:19:16 UTC
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."
Comment 5 Jussi Kukkonen 2017-06-13 19:33:53 UTC
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.