Re: kernel/rcutree.h:301: sorry, unimplemented: inlining failed in call to 'rcu_bootup_announce': function body not available

From: AmÃrico Wang
Date: Fri Dec 18 2009 - 04:52:58 EST


On Fri, Dec 18, 2009 at 1:45 PM, Mr. James W. Laferriere
<babydr@xxxxxxxxxxxxxxxx> wrote:
> Â Â Â ÂHello All ,
>
> Âgcc -Wp,-MD,kernel/.rcutree.o.d Â-nostdinc -isystem
> /usr/lib/gcc/i486-slackware-linux/3.4.6/include -Iinclude
> -I/usr/src/linux-2.6.32.1/arch/x86/include -include include/linux/autoconf.h
> -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
> -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration
> -Wno-format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float
> -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2
> -fno-unit-at-a-time -march=i686 -ffreestanding -DCONFIG_AS_CFI=1 -pipe
> -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx
> -mno-sse2 -mno-3dnow -fno-omit-frame-pointer -fno-optimize-sibling-calls -g
> -Wdeclaration-after-statement  -D"KBUILD_STR(s)=#s"
> -D"KBUILD_BASENAME=KBUILD_STR(rcutree)"
> Â-D"KBUILD_MODNAME=KBUILD_STR(rcutree)" -c -o kernel/rcutree.o
> kernel/rcutree.c
> kernel/rcutree.c: In function `__rcu_init':
> kernel/rcutree.h:301: sorry, unimplemented: inlining failed in call to
> 'rcu_bootup_announce': function body not available
> kernel/rcutree.c:1740: sorry, unimplemented: called from here
> make[1]: *** [kernel/rcutree.o] Error 1
> make: *** [kernel] Error 2
>
> Â Â Â ÂThere is no way , Âthru the 'make *config' methods to disable this
> broken stuff , ÂSo How may I get past this brokeness ?
> Â Â Â ÂAnd looking the posts for the 2.6.32-pre/rc the old rcu has been
> trashed completely . ÂSo I am not able to even try using that .
>
> Â Â Â ÂWould someone please shed some light on this . ÂI really need the
> updates for the Fusion/mpt driver & the changes in the /md/ tree as well .

Hmm, I see the problem, but not sure how to fix it...

Paul, why do we have #include "rcutree_plugin.h" at the bottom
of rcutree.c? This looks strange for me...

How about moving it up? At least just move upper to rcu_init().

Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/