Hi Aravind, On 12/5/24 10:47 AM, aravind posina via lists.yoctoproject.org wrote:
Building backport-include/backport/autoconf.h ... done. | CC [M] /home/phytec/sanava-kernel/yocto/build/tmp/work/phyboard_segin_imx6ul_7-phytec-linux-gnueabi/backports-cypress/5.15.58-r0/cypress-fmac-v5.15.58-2024_0118/cypress-backports-v5.15.58-2024_0118-module-src/v5.15.58-backports/compat/main.o | arm-phytec-linux-gnueabi-gcc: error: missing argument to '-falign-functions='
Your issue is likely here. Check the flags passed to your compiler either from Yocto or through the Makefile (they are sometimes/often entirely overridden from the Makefile, which is not correct for build systems).
Without seeing the source code of the kernel modules (at least the files) and their Makefile as well as the Yocto recipe, this starts to look like me reading the log and highlighting where an "error" appears, which you probably don't need help with since I'm reading the same log as you. Can you please provide more info, actual source code.
Cheers, Quentin
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64405): https://lists.yoctoproject.org/g/yocto/message/64405 Mute This Topic: https://lists.yoctoproject.org/mt/109831107/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-