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

From: Edward Shishkin
Date: Tue Mar 11 2008 - 08:12:54 EST


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



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