Bug#712103: linux-3.2.46-1 does not compile (rcupdate.h)
Package: linux-source-3.2
Version: 3.2.46-1
Severity: important
Dear Maintainer,
* What led up to the situation?
Compiling error:
In file included from include/linux/mm_types.h:15:0,
from include/linux/sched.h:64,
from arch/x86/kernel/asm-offsets.c:9:
include/linux/rcupdate.h: In function '__kfree_rcu':
include/linux/rcupdate.h:834:2: error: size of unnamed array is negative
make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
Line 834 is BUILD_BUG_ON... in
static __always_inline
void __kfree_rcu(struct rcu_head *head, unsigned long offset)
{
typedef void (*rcu_callback)(struct rcu_head *);
BUILD_BUG_ON(!__builtin_constant_p(offset));
"offset" is declared as an "unsigned long" so can't be negative!
-- System Information:
Debian Release: 7.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i586)
Kernel: Linux 2.6.32-47
Locale: LANG=is_IS, LC_CTYPE=is_IS (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages linux-source-3.2 depends on:
ii binutils 2.22-8
ii bzip2 1.0.6-4
Versions of packages linux-source-3.2 recommends:
ii gcc 4:4.7.2-1
ii libc6-dev [libc-dev] 2.13-38
ii make 3.81-8.2
Versions of packages linux-source-3.2 suggests:
ii libncurses5-dev [ncurses-dev] 5.9-10
pn libqt4-dev <none>
ii pkg-config 0.26-1
-- no debconf information
--
Bjarni I. Gislason
Reply to: