Closed vaib09 closed 2 years ago
Please provide: 1) the entire build log that shows the issue; 2) the compiler version. 3) information of the changes made in the CompuLab imx7 kernel code.
error_log_1.odt Kernel version 5.10.9 GCC compiler 10.2. Haven't made any changes in the CompuLab imx7 kernel code. Build the core-image-minimal.
Please compress and post ${BUILDDIR}/conf folder.
conf.zip meta-mylayer conf_build.zip build environment conf
@vaib09 thanks for providing the confs.
Please remove the BBLAYERS += "/home/vaibhav/compulab-bsp/sources/meta-cloakd"
line from the conf/bblayer.conf
This is not a CompuLab provided layer.
@vraevsky This is the meta layer where i have kept my customized kernel modules.
I think this error is because of incompatibility between two object files linked together. Since my code base is based on U32 and arm-poky-linux-gnueabi-gcc is U16. Is their any way i can up rebuild yocto image to U32.
All objects must be compiled by the same toolchain. Apply the base changes to the meta-cloakd source.
I am sorry if it's a wrong platform to ask this question. I am trying to build kernel drivers for my project and facing this error ERROR: modpost: "__sync_val_compare_and_swap_4" [ ] Undefined!
BSP - meta-bsp-imx7 branch gatesgarth
Any suggestion would be appreciated.