Hi,
I’m trying to build a customized Yocto image based on tdx-reference-multimedia-image using BSP 7.4.0.
When compiling linux-toradex-6.6.101 I get the following error:
| LD .tmp_vmlinux.kallsyms1
| aarch64-tdx-linux-ld.bfd: Unexpected GOT/PLT entries detected!
| aarch64-tdx-linux-ld.bfd: Unexpected run-time procedure linkages detected!
| aarch64-tdx-linux-ld.bfd: drivers/net/ethernet/freescale/enetc/enetc_ethtool.o: in function `enetc_get_ts_info':
| enetc_ethtool.c:(.text+0x4b8): undefined reference to `netc_timer_get_phc_index'
| make[2]: *** [/srv/ssd/yocto_imx8p_lts/oe-core/build/tmp/work-shared/verdin-imx8mp/kernel-source/scripts/Makefile.vmlinux:37: vmlinux] Error 1
| make[1]: *** [/srv/ssd/yocto_imx8p_lts/oe-core/build/tmp/work-shared/verdin-imx8mp/kernel-source/Makefile:1172: vmlinux] Error 2
| make: *** [/srv/ssd/yocto_imx8p_lts/oe-core/build/tmp/work-shared/verdin-imx8mp/kernel-source/Makefile:234: __sub-make] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/srv/ssd/yocto_imx8p_lts/oe-core/build/../layers/meta-toradex-nxp/recipes-kernel/linux/linux-toradex_6.6-2.2.x.bb:do_compile) failed with exit code '1'
The image was building successfully with BSP 7.1.0.
BR,
Diego