Skip to content

WebKit build fails due to limited RAM per CPU core #178

Answered by clopez
blakelloyd-coderus asked this question in Q&A
Discussion options

You must be logged in to vote

arm-poky-linux-gnueabi-g++: fatal error: Killed signal terminated program cc1plus compilation terminated.

This usually mean you ran out of ram and the kernel killed the gcc process. You need at least 2GB of RAM per CPU vcore to build WebKit. If you don't have enough then try to lower the number of build threads.

For example you can set in local.conf

# Default to setting automatically based on cpu count
BB_NUMBER_THREADS = "4"

# Default to setting automatically based on cpu count
PARALLEL_MAKE = "-j 4"

With that number (4) you would need 8GB of RAM to build WebKit

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by philn
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #178 on December 09, 2020 19:56.