Subject: Getting bitbake error after 54% recipes are baked. #dunfell #yocto To: yocto@lists.yoctoproject.org From: vishal.rana118@gmail.com X-Originating-Location: Bengaluru, Karnataka, IN (106.51.234.10) X-Originating-Platform: Windows Chrome 92 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Tue, 17 Aug 2021 08:38:11 -0700 Message-ID: Content-Type: multipart/alternative; boundary="n9blXK9m209ik3lOIuOc" --n9blXK9m209ik3lOIuOc Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, I am using *ubuntu 16.04* (host) in VirtualBox. Memory allocated to VM machine is 100+ GB. Poky *dunfell*. While trying to build the project fo *r x86_64.* Steps followed as per yocto quick guide for "dunfell" ////////////////////////////// ////////////////////////////// //////////// after baking 54% of recipe I am getting error. ////////////////////////////// ////////////////////////////// /////////////= /////////// | /home/vrana/Desktop/yocto_ Practice/build/tmp/work/core2- 64-poky-linux/g= cc/9.3.0-r0/ recipe-sysroot-native/usr/bin/ x86_64-poky-linux/../../ libexe= c/x86_64-poky-linux/gcc/ x86_64-poky-linux/9.3.0/as: out of memory allocati= ng 4064 bytes after a total of 452272128 bytes | Makefile:1117: recipe for target 'insn-emit.o' failed | make[1]: *** [insn-emit.o] Error 2 | make[1]: *** Waiting for unfinished jobs.... | rm gcc.pod | make[1]: Leaving directory '/home/vrana/Desktop/yocto_ Practice/build/tmp= /work/core2- 64-poky-linux/gcc/9.3.0-r0/ gcc-9.3.0/build.x86_64-poky- linux= .x86_64-poky-linux/gcc' | Makefile:4328: recipe for target 'all-gcc' failed | make: *** [all-gcc] Error 2 | WARNING: exit code 1 from a shell command. | ERROR: Task (/home/vrana/Desktop/yocto_ Practice/source/poky/meta/ recipes-= devtools/gcc/gcc_9.3. bb:do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 1832 tasks of which 0 didn't need to be reru= n and 1 failed. Summary: 1 task failed: /home/vrana/Desktop/yocto_ Practice/source/poky/meta/ recipes-devtools/gcc/= gcc_9.3. bb:do_compile Summary: There were 2 ERROR messages shown, returning a non-zero exit code. ////////////////////////////// ////////////////////////////// looking for guidance. Regards, --n9blXK9m209ik3lOIuOc Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Hi,

I am using<= strong> ubuntu 16.04 (host) in VirtualBox.

Memory allo= cated to VM machine is 100+ GB.

Poky dunfell.

While tryin= g to build the project for x86_64.

Steps follo= wed as per yocto quick guide for "dunfell"

///////////= /////////////////////////////////////////////////////////////=

after bakin= g 54% of recipe I am getting error.

///////////= /////////////////////////////////////////////////////////////= ////////////

| /home/vra= na/Desktop/yocto_Practice/build/tmp/work/core2-64-poky-linux/= gcc/9.3.0-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/= ../../libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/9.3.0/a= s: out of memory allocating 4064 bytes after a total of 452272128 bytes

| Makefile:= 1117: recipe for target 'insn-emit.o' failed

| make[1]: = *** [insn-emit.o] Error 2

| make[1]: = *** Waiting for unfinished jobs....

| rm gcc.po= d

| make[1]: = Leaving directory '/home/vrana/Desktop/yocto_Practice/build/tmp/work= /core2-64-poky-linux/gcc/9.3.0-r0/gcc-9.3.0/build.x86_64-poky= -linux.x86_64-poky-linux/gcc'

| Makefile:= 4328: recipe for target 'all-gcc' failed

| make: ***= [all-gcc] Error 2

| WARNING: = exit code 1 from a shell command.

|

ERROR: Task= (/home/vrana/Desktop/yocto_Practice/source/poky/meta/recipes= -devtools/gcc/gcc_9.3.bb:do_compile) failed with exit code '1'

NOTE: Tasks= Summary: Attempted 1832 tasks of which 0 didn't need to be rerun and 1 fai= led.

Summary: 1 = task failed:

  /hom= e/vrana/Desktop/yocto_Practice/source/poky/meta/recipes-devto= ols/gcc/gcc_9.3.bb:do_compile

Summary: Th= ere were 2 ERROR messages shown, returning a non-zero exit code. 

 

///////////= /////////////////////////////////////////////////

looking for= guidance.

 

Regards, --n9blXK9m209ik3lOIuOc--