Hello, I’m trying to build a yocto image but it is throwing the following errors:
NOTE: Executing Tasks
ERROR: linux-toradex-5.4.129+git+git-r0 do_compile: oe_runmake failed
ERROR: linux-toradex-5.4.129+git+git-r0 do_compile: ExecutionError('/home/administrator/oe-core/build/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex/5.4.129+git+git/temp/run.do_compile.2646615', 1, None, None)
ERROR: Logfile of failure stored in: /home/administrator/oe-core/build/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex/5.4.129+git+git/temp/log.do_compile.2646615
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: KBUILD_BUILD_TIMESTAMP: Wed Oct 27 12:15:27 UTC 2021
| NOTE: make -j 4 CC=arm-poky-linux-gnueabi-gcc -mno-thumb-interwork -marm -fuse-ld=bfd -fcanon-prefix-map -fmacro-prefix-map=/home/administrator/oe-core/build/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex/5.4.129+git+git/git=/usr/src/debug/linux-toradex/5.4.129+git+git -fdebug-prefix-map=/home/administrator/oe-core/build/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex/5.4.129+git+git/git=/usr/src/debug/linux-toradex/5.4.129+git+git -fmacro-prefix-map=/home/administrator/oe-core/build/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex/5.4.129+git+git/build=/usr/src/debug/linux-toradex/5.4.129+git+git -fdebug-prefix-map=/home/administrator/oe-core/build/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex/5.4.129+git+git/build=/usr/src/debug/linux-toradex/5.4.129+git+git -fdebug-prefix-map=/home/administrator/oe-core/build/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex/5.4.129+git+git/recipe-sysroot= -fmacro-prefix-map=/home/administrator/oe-core/build/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex/5.4.129+git+git/recipe-sysroot= -fdebug-prefix-map=/home/administrator/oe-core/build/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex/5.4.129+git+git/recipe-sysroot-native= -fdebug-prefix-map=/home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source=/usr/src/kernel -fdebug-prefix-map=/home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-build-artifacts=/usr/src/kernel LD=arm-poky-linux-gnueabi-ld.bfd OBJCOPY=arm-poky-linux-gnueabi-objcopy STRIP=arm-poky-linux-gnueabi-strip HOSTCC=gcc HOSTCFLAGS=-isystem/home/administrator/oe-core/build/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex/5.4.129+git+git/recipe-sysroot-native/usr/include -O2 -pipe HOSTLDFLAGS=-L/home/administrator/oe-core/build/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex/5.4.129+git+git/recipe-sysroot-native/usr/lib -L/home/administrator/oe-core/build/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex/5.4.129+git+git/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/home/administrator/oe-core/build/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex/5.4.129+git+git/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/administrator/oe-core/build/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex/5.4.129+git+git/recipe-sysroot-native/lib -Wl,-rpath,/home/administrator/oe-core/build/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex/5.4.129+git+git/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/administrator/oe-core/build/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex/5.4.129+git+git/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/home/administrator/oe-core/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -pthread HOSTCPP=gcc -E HOSTCXX=g++ HOSTCXXFLAGS=-isystem/home/administrator/oe-core/build/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex/5.4.129+git+git/recipe-sysroot-native/usr/include -O2 -pipe HOSTPKG_CONFIG=pkg-config-native DTC_FLAGS=-@ -j 4 zImage LOADADDR=0x84200000
| scripts/kconfig/conf -s --syncconfig Kconfig
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/scripts/extract-cert.c: In function 'display_openssl_errors':
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/scripts/extract-cert.c:46:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
| 46 | while ((e = ERR_get_error_line(&file, &line))) {
| | ^~~~~
| In file included from /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/scripts/extract-cert.c:23:
| /home/administrator/oe-core/build/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex/5.4.129+git+git/recipe-sysroot-native/usr/include/openssl/err.h:423:15: note: declared here
| 423 | unsigned long ERR_get_error_line(const char **file, int *line);
| | ^~~~~~~~~~~~~~~~~~
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/scripts/extract-cert.c: In function 'drain_openssl_errors':
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/scripts/extract-cert.c:59:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
| 59 | while (ERR_get_error_line(&file, &line)) {}
| | ^~~~~
| /home/administrator/oe-core/build/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex/5.4.129+git+git/recipe-sysroot-native/usr/include/openssl/err.h:423:15: note: declared here
| 423 | unsigned long ERR_get_error_line(const char **file, int *line);
| | ^~~~~~~~~~~~~~~~~~
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/scripts/extract-cert.c: In function 'main':
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/scripts/extract-cert.c:124:17: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
| 124 | ENGINE_load_builtin_engines();
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| In file included from /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/scripts/extract-cert.c:24:
| /home/administrator/oe-core/build/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex/5.4.129+git+git/recipe-sysroot-native/usr/include/openssl/engine.h:358:28: note: declared here
| 358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void);
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/scripts/extract-cert.c:126:17: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
| 126 | e = ENGINE_by_id("pkcs11");
| | ^
| /home/administrator/oe-core/build/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex/5.4.129+git+git/recipe-sysroot-native/usr/include/openssl/engine.h:336:31: note: declared here
| 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id);
| | ^~~~~~~~~~~~
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/scripts/extract-cert.c:128:17: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
| 128 | if (ENGINE_init(e))
| | ^~
| /home/administrator/oe-core/build/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex/5.4.129+git+git/recipe-sysroot-native/usr/include/openssl/engine.h:620:27: note: declared here
| 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e);
| | ^~~~~~~~~~~
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/scripts/extract-cert.c:133:25: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
| 133 | ERR(!ENGINE_ctrl_cmd_string(e, "PIN", key_pass, 0), "Set PKCS#11 PIN");
| | ^~~
| /home/administrator/oe-core/build/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex/5.4.129+git+git/recipe-sysroot-native/usr/include/openssl/engine.h:479:5: note: declared here
| 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg,
| | ^~~~~~~~~~~~~~~~~~~~~~
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/scripts/extract-cert.c:134:17: warning: 'ENGINE_ctrl_cmd' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
| 134 | ENGINE_ctrl_cmd(e, "LOAD_CERT_CTRL", 0, &parms, NULL, 1);
| | ^~~~~~~~~~~~~~~
| /home/administrator/oe-core/build/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex/5.4.129+git+git/recipe-sysroot-native/usr/include/openssl/engine.h:450:27: note: declared here
| 450 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_name,
| | ^~~~~~~~~~~~~~~
| arm-poky-linux-gnueabi-ld.bfd: warning: arch/arm/vdso/datapage.o: missing .note.GNU-stack section implies executable stack
| arm-poky-linux-gnueabi-ld.bfd: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/arch/arm/mm/proc-v7.S: Assembler messages:
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/arch/arm/mm/proc-v7.S:647: Error: junk at end of line, first unrecognized character is `#'
| make[2]: *** [/home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/scripts/Makefile.build:344: arch/arm/mm/proc-v7.o] Error 1
| make[1]: *** [/home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/Makefile:1734: arch/arm/mm] Error 2
| make[1]: *** Waiting for unfinished jobs....
| In file included from /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/include/linux/rculist.h:10,
| from /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/include/linux/pid.h:5,
| from /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/include/linux/sched.h:14,
| from /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/locking/semaphore.c:30:
| In function '__list_add',
| inlined from 'list_add_tail' at /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/include/linux/list.h:93:2,
| inlined from '__down_common' at /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/locking/semaphore.c:209:2,
| inlined from '__down_killable' at /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/locking/semaphore.c:247:9:
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/include/linux/list.h:63:20: warning: storing the address of local variable 'waiter' in '((struct list_head *)sem)[1].prev' [-Wdangling-pointer=]
| 63 | next->prev = new;
| | ~~~~~~~~~~~^~~~~
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/locking/semaphore.c: In function '__down_killable':
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/locking/semaphore.c:207:33: note: 'waiter' declared here
| 207 | struct semaphore_waiter waiter;
| | ^~~~~~
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/locking/semaphore.c:245:63: note: 'sem' declared here
| 245 | static noinline int __sched __down_killable(struct semaphore *sem)
| | ~~~~~~~~~~~~~~~~~~^~~
| In function '__list_add',
| inlined from 'list_add_tail' at /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/include/linux/list.h:93:2,
| inlined from '__down_common' at /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/locking/semaphore.c:209:2,
| inlined from '__down_timeout' at /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/locking/semaphore.c:252:9:
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/include/linux/list.h:63:20: warning: storing the address of local variable 'waiter' in '((struct list_head *)sem)[1].prev' [-Wdangling-pointer=]
| 63 | next->prev = new;
| | ~~~~~~~~~~~^~~~~
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/locking/semaphore.c: In function '__down_timeout':
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/locking/semaphore.c:207:33: note: 'waiter' declared here
| 207 | struct semaphore_waiter waiter;
| | ^~~~~~
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/locking/semaphore.c:250:62: note: 'sem' declared here
| 250 | static noinline int __sched __down_timeout(struct semaphore *sem, long timeout)
| | ~~~~~~~~~~~~~~~~~~^~~
| In function '__list_add',
| inlined from 'list_add_tail' at /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/include/linux/list.h:93:2,
| inlined from '__down_common' at /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/locking/semaphore.c:209:2,
| inlined from '__down' at /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/locking/semaphore.c:237:2:
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/include/linux/list.h:63:20: warning: storing the address of local variable 'waiter' in '((struct list_head *)sem)[1].prev' [-Wdangling-pointer=]
| 63 | next->prev = new;
| | ~~~~~~~~~~~^~~~~
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/locking/semaphore.c: In function '__down':
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/locking/semaphore.c:207:33: note: 'waiter' declared here
| 207 | struct semaphore_waiter waiter;
| | ^~~~~~
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/locking/semaphore.c:235:55: note: 'sem' declared here
| 235 | static noinline void __sched __down(struct semaphore *sem)
| | ~~~~~~~~~~~~~~~~~~^~~
| In function '__list_add',
| inlined from 'list_add_tail' at /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/include/linux/list.h:93:2,
| inlined from '__down_common' at /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/locking/semaphore.c:209:2,
| inlined from '__down_interruptible' at /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/locking/semaphore.c:242:9:
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/include/linux/list.h:63:20: warning: storing the address of local variable 'waiter' in '((struct list_head *)sem)[1].prev' [-Wdangling-pointer=]
| 63 | next->prev = new;
| | ~~~~~~~~~~~^~~~~
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/locking/semaphore.c: In function '__down_interruptible':
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/locking/semaphore.c:207:33: note: 'waiter' declared here
| 207 | struct semaphore_waiter waiter;
| | ^~~~~~
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/locking/semaphore.c:240:68: note: 'sem' declared here
| 240 | static noinline int __sched __down_interruptible(struct semaphore *sem)
| | ~~~~~~~~~~~~~~~~~~^~~
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/workqueue.c: In function 'get_work_pwq':
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/workqueue.c:692:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
| 692 | return (void *)(data & WORK_STRUCT_WQ_DATA_MASK);
| | ^
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/workqueue.c: In function 'get_work_pool':
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/workqueue.c:720:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
| 720 | return ((struct pool_workqueue *)
| | ^
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/workqueue.c: In function 'get_work_pool_id':
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/workqueue.c:742:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
| 742 | return ((struct pool_workqueue *)
| | ^
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/extable.c: In function 'sort_main_extable':
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/extable.c:37:59: warning: comparison between two arrays [-Warray-compare]
| 37 | if (main_extable_sort_needed && __stop___ex_table > __start___ex_table) {
| | ^
| /home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/kernel/extable.c:37:59: note: use '&__stop___ex_table[0] > &__start___ex_table[0]' to compare the addresses
| make: *** [/home/administrator/oe-core/build/tmp/work-shared/colibri-imx6ull/kernel-source/Makefile:179: sub-make] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/administrator/oe-core/build/../layers/meta-freescale-3rdparty/recipes-kernel/linux/linux-toradex_5.4-2.3.x.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1223 tasks of which 1208 didn't need to be rerun and 1 failed.
This is my build configuration
BB_VERSION = "2.8.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "colibri-imx6ull"
DISTRO = "poky"
DISTRO_VERSION = "5.0.6"
TUNE_FEATURES = "arm vfp cortexa7 neon thumb callconvention-hard"
TARGET_FPU = "hard"
meta-toradex-nxp
meta-freescale
meta-freescale-3rdparty
meta-toradex-ti
meta-arm-toolchain
meta-arm
meta-ti-bsp
meta-ti-extras
meta-toradex-bsp-common
meta-oe
meta-filesystems
meta-networking
meta-python
meta-freescale-distro
meta-toradex-distro
meta-poky
meta
meta-your-layer = "<unknown>:<unknown>"