Upon execution of bitbake st-image-weston, the result is the following:
| {standard input}:246329: Warning: end of file not at end of a line; newline inserted
| {standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
| g++: fatal error: Killed signal terminated program cc1plus
| compilation terminated.
| make[1]: *** [Makefile:1117: gimple-match.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| rm gcc.pod
| make[1]: Leaving directory '/home/user/Desktop/STM32/build-openstlinuxweston-stm32mp1/tmp-glibc/work/x86_64-linux/gcc-cross-arm/9.3.0-r0/gcc-9.3.0/build.x86_64-linux.arm-ostl-linux-gnueabi/gcc'
| make: *** [Makefile:4328: all-gcc] Error 2
| WARNING: exit code 1 from a shell command.
|
ERROR: Task (/home/user/Desktop/STM32/layers/openembedded-core/meta/recipes-devtools/gcc/gcc-cross_9.3.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 564 tasks of which 0 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 5 seconds
Summary: 1 task failed:
/home/user/Desktop/STM32/layers/openembedded-core/meta/recipes-devtools/gcc/gcc-cross_9.3.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
How can I get this working? Thanks in advance. I really appreciate your help.
The error g++: fatal error: Killed signal terminated program cc1plus often indicates that the system ran out of memory during compilation.: Add swap space to prevent memory exhaustion. You can add a 4-8GB swap file as follows:
Thank you so much @liaifat85 ! I manged to move on on the process. However there are still some stoppers.
ERROR: libiio-0.15+gitAUTOINC+6ecff5d46e-r0 do_fetch: Fetcher failure: Unable to find revision 6ecff5d46e1b12c2859f0b63a73282940e3402bb in branch master even from upstream ERROR: libiio-0.15+gitAUTOINC+6ecff5d46e-r0 do_fetch: Fetcher failure for URL: 'git://github.com/analogdevicesinc/libiio.git;protocol=https'. Unable to fetch URL from any source. ERROR: Logfile of failure stored in: /home/build/build-openstlinuxweston-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/libiio/0.15+gitAUTOINC+6ecff5d46e-r0/temp/log.do_fetch.3182647 ERROR: Task (/home/build/layers/meta-openembedded/meta-oe/recipes-support/libiio/libiio_git.bb:do_fetch) failed with exit code '1'