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

From eLinux.org
< R-Car‎ | Boards/Yocto-Gen3-CommonFAQ
Revision as of 20:01, 12 November 2020 by Y.H. (talk | contribs) (Created page with "== Build process for Android crashes with strange error or segfault (mostly after 95%) == It can be due to amount of RAM is not enough. <br/> Please make sure that RAM+SWAP i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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}