Re: [PATCH] rcu: avoid checking for constant

From: Jan Engelhardt
Date: Thu Jan 12 2012 - 05:57:13 EST


On Thursday 2012-01-12 11:54, Eric Dumazet wrote:

>Le jeudi 12 janvier 2012 Ã 11:34 +0100, Jan Engelhardt a Ãcrit :
>
>> When compiling kernel or module code with -O0, "offset" is no longer
>> considered a constant, and therefore always triggers the build error
>> that BUILD_BUG_ON is defined to yield.
>
>Why compiling kernel with -O0 is even considered ?

The compile error was observed when trying to compile an out-of-tree
module with -O0.
--
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/