Re: 2.6.32-rc5-git3 compile problems

From: Alex
Date: Wed Oct 28 2009 - 12:00:48 EST


Hi,

> Try this patch, thanks.

I believe your patch to rcutree_plugin.h and rcutree.h worked, but I'm
now still having difficulty with con_init():

GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o: In function `con_init':
vt.c:(.init.text+0x3a6b): undefined reference to `.L1626'
make: *** [.tmp_vmlinux1] Error 1

Is this also a bug, or am I doing something wrong? Is there something
I can do to produce more debugging info, or troubleshoot it further?

This is 2.6.32-rc5-git3, gcc-3.4.4, glibc-2.3.6, and binutils-2.20.51.0.2.

Thanks,
Alex

> ---
> index b40ac57..04a4272 100644
> --- a/kernel/rcutree.h
> +++ b/kernel/rcutree.h
> @@ -292,8 +292,24 @@ DECLARE_PER_CPU(struct rcu_data, rcu_preempt_data);
>
>  #else /* #ifdef RCU_TREE_NONCORE */
>
> -/* Forward declarations for rcutree_plugin.h */
> -static inline void rcu_bootup_announce(void);
> +#ifdef CONFIG_TREE_PREEMPT_RCU
> +/*
> + * Tell them what RCU they are running.
> + */
> +static inline void rcu_bootup_announce(void)
> +{
> +        printk(KERN_INFO
> +               "Experimental preemptable hierarchical RCU implementation.\n");
> +}
> +#else
> +/*
> + * Tell them what RCU they are running.
> + */
--
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/