[linux-yocto] [raspberryp2] Error during the build of linux kernel
Karim ATIKI
karim_atiki at hotmail.com
Fri Oct 2 02:28:40 PDT 2015
Hello,
I have another error while building a classic Raspberry-Pi2 with Yocto-Project.It failed while compiling the Linux Kernel modules:
/home/kai/poky/build-rpi/tmp/work-shared/raspberrypi2/kernel-source/drivers/misc/vc04_services/interface/vchiq_arm/vchiq_arm.c: In function 'set_resume_state':| /home/kai/poky/build-rpi/tmp/work-shared/raspberrypi2/kernel-source/drivers/misc/vc04_services/interface/vchiq_arm/vchiq_arm.c:1780:1: error: inlining failed in call to always_inline 'set_suspend_state': function not inlinable| set_suspend_state(VCHIQ_ARM_STATE_T *arm_state,| ^| /home/kai/poky/build-rpi/tmp/work-shared/raspberrypi2/kernel-source/drivers/misc/vc04_services/interface/vchiq_arm/vchiq_arm.c:1836:3: error: called from here| set_suspend_state(arm_state, VC_SUSPEND_IDLE);
I fixed this issue by removing the "inline" keyword of the related functions: set_resume_state() and set_suspend_state().But I find this fix very ugly as I suppose the "inline" keyword have been put for a good reason.
Is this a compiler error ? or a bad CFLAG ?I'm running Yocto Fido 1.8 under a Debian 7.9.The cross-compiler used is gcc 5.0
Karim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/linux-yocto/attachments/20151002/b3dcc2b3/attachment.html>
More information about the linux-yocto
mailing list