Re: [Build Faliure] 2.6.25-rc5-mm1 build fails

Edward Shishkin
2008-03-11T12:12:53Z

wow, kgdb is enabled again..

Thanks!
Edward

Kamalesh Babulal wrote:

>Hi Andrew,
>
>The 2.6.25-rc5-mm1 kernel build fails with allyesconfig
>
> LD .tmp_vmlinux1
>fs/built-in.o: In function `reiser4_debugtrap':
>/root/kernels/linux-2.6.25-rc5/fs/reiser4/debug.c:295: undefined reference to `breakpoint'
>make: *** [.tmp_vmlinux1] Error 1
>
>This build failure has been introduced by reiser4.patch, i think the
>breakpoint() have been used instead of kgdb_breakpoint().
>
>
>--- linux-2.6.25-rc5/fs/reiser4/debug.c 2008-03-11 22:12:45.000000000 +0530
>+++ linux-2.6.25-rc5/fs/reiser4/~debug.c 2008-03-11 23:14:54.000000000 +0530
>@@ -291,8 +291,8 @@ void reiser4_debugtrap(void)
> {
> /* do nothing. Put break point here. */
> #if defined(CONFIG_KGDB) && !defined(CONFIG_REISER4_FS_MODULE)
>- extern void breakpoint(void);
>- breakpoint();
>+ extern void kgdb_breakpoint(void);
>+ kgdb_breakpoint();
> #endif
> }
> #endif
>
>