I was attempting to cross-compile Linux for a Marvell core withOptimizations turned off and ran across an error due to the__attribute__((always_inline)) attribute.

It looks like the default behavior used to always have this feature on,but Ingo committed some changes that allows this behavior to be turnedoff (With the correct Kconfig file changes).

I'm VERY new to Linux but was wondering if there was a way (configoption) to turn this inline attribute off in previous versions of thekernel besides these new macros. It seems building with optimizationlevel 0 should be a natural thing for kernel driver developers to do fordebugging purposes.

In summary: I want to compile with optimizations off and the compile isfailing now when I try this. How can this be resolved?

For reference:- Stable Kernel 2.6.26- I'm using arm-marvell-eabi-gcc 4.1.1- Compiling for ARM architecture- Neither CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING norCONFIG_OPTIMIZE_INLINING are on (or even options in the ARMarchitecture)- The error I receive is: "sorry, unimplemented: inlining failed in call to '<inline function>':function body not available"