Re: [2.6 patch] fs/buffer.c:init_buffer() mustn't be inline

From: Linus Torvalds
Date: Mon Apr 28 2008 - 12:03:09 EST




On Mon, 28 Apr 2008, Adrian Bunk wrote:
<
> This patch fixes the following build error with UML and gcc 4.3:
>
> <-- snip -->
>
> ...
> CC fs/buffer.o
> /home/bunk/linux/kernel-2.6/git/linux-2.6/fs/buffer.c: In function âinit_page_buffersâ:
> /home/bunk/linux/kernel-2.6/git/linux-2.6/fs/buffer.c:51: sorry, unimplemented: inlining failed in call to âinit_bufferâ: function body not available
> /home/bunk/linux/kernel-2.6/git/linux-2.6/fs/buffer.c:1007: sorry, unimplemented: called from here
> make[2]: *** [fs/buffer.o] Error 1

Can somebody tell why this is not a gcc bug?

Linus
--
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/