Closed yslys closed 3 years ago
Try using OE prebuilt build tools (see README for more details):
./openembedded-core/scripts/install-buildtools -r yocto-3.2_M2 -t 20200729
But looking again at it g++: fatal error: Killed signal terminated program cc1plus
. I assume out-of-memory kill happened here due to lack of RAM. Adjust PARALLEL_MAKE=
BB_NUMBER_THREADS=
according to your machine. You can also build Clang first before building the full disk image.
Thanks a lot @davidlt , I agree that by removing those two parameter settings would it work, as I have successfully built the disk image following this link without specifying PARALLEL_MAKE
and BB_NUMBER_THREADS
. I would close this issue after I have done the building images stuff.
Instructions are similar bu the content is different. LLVM/Clang stack is expensive resources wise to build.
Sorry for the late reply. The building process ate up all my disk memory (up to 100 Gbs on my virtual machine) - it failed. May I know how much disk memory is required to build this?
I retried using a virtual machine with 300 GBs of disk space and it built successfully, with 130 GB used.
Will close this issue.
Hi, I am currently following the instructions to set up the environment. However, errors occurred when I was building the images on Ubuntu 20.04.2 LTS, with Linux kernel version 5.8.0-53-generic, and glibc version Ubuntu GLIBC 2.31-0ubuntu9.2.
Below is the part of the output when I build:
Could anyone please help me solve this? Thanks in advance!