R-Car/Boards/Yocto-Gen3-CommonFAQ/Build process for Android crashes with strange error or segfault (mostly after 95%)

From eLinux.org
Jump to: navigation, search

Build process for Android crashes with strange error or segfault (mostly after 95%)

It can be due to amount of RAM is not enough.
Please make sure that RAM+SWAP is at least 16GB and close other running applications.
Also you can try to build using lower -j values.


Example for choosing -j values:

export NUM_JOBS=$(($(grep ^processor /proc/cpuinfo | wc -l)*2))
make -j${NUM_JOBS}