I am trying to build core-image-minimal for i.MX93 using yocto build:
Getting this error:
deps/insn-emit.TPo insn-emit.cc
| aarch64-poky-linux-g++: fatal error: Killed signal terminated program cc1plus
| compilation terminated.
| make[1]: *** [Makefile:1144: insn-emit.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| rm gcc.pod
| make[1]: Leaving directory '/home/nxf94256/imx-yocto-bsp/build-wayland/tmp/work/armv8a-poky-linux/gcc/12.2.0-r0/gcc-12.2.0/build.aarch64-poky-linux.aarch64-poky-linux/gcc'
| make: *** [Makefile:4619: all-gcc] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/nxf94256/imx-yocto-bsp/sources/poky/meta/recipes-devtools/gcc/gcc_12.2.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2789 tasks of which 1188 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/nxf94256/imx-yocto-bsp/sources/poky/meta/recipes-devtools/gcc/gcc_12.2.bb:do_compile
Summary: There were 2 WARNING messages.
Summary: There were 2 ERROR messages, returning a non-zero exit code.
Hi @kajolkharbanda.
Enough space is available in home directory:
nxf94256@lsv051137:~/imx-yocto-bsp/build-wayland$ df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 392M 3.9M 388M 1% /run
/dev/mapper/vg_sys-lv_root 9.8G 14M 9.3G 1% /
/dev/mapper/vg_data-lv_usr 9.8G 7.0G 2.3G 76% /usr
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sda2 974M 263M 644M 29% /boot
/dev/mapper/vg_data-lv_opt 49G 1.4G 46G 3% /opt
/dev/mapper/vg_data-lv_var 9.8G 2.3G 7.0G 25% /var
/dev/mapper/vg_data-lv_home 689G 65G 596G 10% /home
/dev/mapper/vg_sys-lv_tmp 9.8G 620K 9.3G 1% /tmp
Hi @kajolkharbanda,
Getting some new errors:
inux/12.2.0/ld: insn-emit.o:(.debug_info+0x90ef8): undefined reference to `.LVUS391362'
| /home/nxf94256/imx-yocto-bsp/build-wayland/tmp/work/armv8a-poky-linux/gcc/12.2.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/12.2.0/ld: insn-emit.o:(.debug_info+0x90efd): undefined reference to `.LLRL391358'
| /home/nxf94256/imx-yocto-bsp/build-wayland/tmp/work/armv8a-poky-linux/gcc/12.2.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/12.2.0/ld: insn-emit.o:(.debug_info+0x90f06): undefined reference to `.LLST391363'
| /home/nxf94256/imx-yocto-bsp/build-wayland/tmp/work/armv8a-poky-linux/gcc/12.2.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/12.2.0/ld: insn-emit.o:(.debug_info+0x90f0a): undefined reference to `.LVUS391363'
| /home/nxf94256/imx-yocto-bsp/build-wayland/tmp/work/armv8a-poky-linux/gcc/12.2.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/12.2.0/ld: insn-emit.o:(.debug_info+0x90f1d): undefined reference to `.LLRL391364'
| /home/nxf94256/imx-yocto-bsp/build-wayland/tmp/work/armv8a-poky-linux/gcc/12.2.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/12.2.0/ld: insn-emit.o:(.debug_info+0x90f2e): undefined reference to `.LLST391365'
| /home/nxf94256/imx-yocto-bsp/build-wayland/tmp/work/armv8a-poky-linux/gcc/12.2.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/12.2.0/ld: insn-emit.o:(.debug_info+0x90f32): undefined reference to `.LVUS391365'
| /home/nxf94256/imx-yocto-bsp/build-wayland/tmp/work/armv8a-poky-linux/gcc/12.2.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/12.2.0/ld: insn-emit.o:(.debug_info+0x90f3b): undefined reference to `.LLST391366'
| /home/nxf94256/imx-yocto-bsp/build-wayland/tmp/work/armv8a-poky-linux/gcc/12.2.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/12.2.0/ld: insn-emit.o:(.debug_info+0x90f3f): undefined reference to `.LVUS391366'
| /home/nxf94256/imx-yocto-bsp/build-wayland/tmp/work/armv8a-poky-linux/gcc/12.2.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/12.2.0/ld: insn-emit.o:(.debug_info+0x90f48): undefined reference to `.LLST391367'
| /home/nxf94256/imx-yocto-bsp/build-wayland/tmp/work/armv8a-poky-linux/gcc/12.2.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/12.2.0/ld: insn-emit.o:(.debug_info+0x90f4c): undefined reference to `.LVUS391367'
| /home/nxf94256/imx-yocto-bsp/build-wayland/tmp/work/armv8a-poky-linux/gcc/12.2.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/12.2.0/ld: insn-emit.o:(.debug_info+0x90f55): undefined reference to `.LLST391368'
| collect2: error: ld returned 1 exit status
| make[1]: *** [../../../../../../../work-shared/gcc-12.2.0-r0/gcc-12.2.0/gcc/lto/Make-lang.in:102: lto-dump] Error 1
| make[1]: *** Waiting for unfinished jobs....
| collect2: error: ld returned 1 exit status
| make[1]: *** [../../../../../../../work-shared/gcc-12.2.0-r0/gcc-12.2.0/gcc/lto/Make-lang.in:96: lto1] Error 1
| make[1]: Leaving directory '/home/nxf94256/imx-yocto-bsp/build-wayland/tmp/work/armv8a-poky-linux/gcc/12.2.0-r0/gcc-12.2.0/build.aarch64-poky-linux.aarch64-poky-linux/gcc'
| make: *** [Makefile:4619: all-gcc] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/nxf94256/imx-yocto-bsp/sources/poky/meta/recipes-devtools/gcc/gcc_12.2.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3611 tasks of which 3596 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/nxf94256/imx-yocto-bsp/sources/poky/meta/recipes-devtools/gcc/gcc_12.2.bb:do_compile
Summary: There were 2 ERROR messages, returning a non-zero exit code.