[OE-core] compiling package with bitbake with CROSS_COMPILE flag

Bodke, Kishore K kishore.k.bodke at intel.com
Mon Aug 27 18:10:12 UTC 2012


Hi

I hope I am asking this question to the right mailing list, since it is related to meta modules classes.

I have a package trying to compile using bitbake.

When you inherit module, I think CROSS_COMPILE option is enabled by module-base.bbclass.

I get below error because of this CROSS_COMPILE flag.

error: inlining failed in call to always_inline 'icp_adf_pollQueue': function body not available

I disabled the flag in my recipe by export CROSS_COMPILE="".
Then it compiled fine.

My question is
what this CROSS_COMPILE flag  does when bitbake runs?  Does it set any extra compiler flags, which is not accepted by my package I am building using bitbake?
How do you avoid this inlining issue when CROSS_COMPILE flag is enabled?

Thanks
Kishore.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120827/08792a58/attachment-0002.html>


More information about the Openembedded-core mailing list