Re: UML compile problems on -mm

From: Miklos Szeredi
Date: Fri Nov 24 2006 - 17:35:55 EST


> > it still fails on linking:
> >
> > LD .tmp_vmlinux1
> > lib/lib.a(bug.o): In function `find_bug':
> > lib/bug.c:108: undefined reference to `__start___bug_table'
>
> rc6-mm1 builds and boots here fine.
>
> The bug table stuff is defined in asm-generic/vmlinux.lds.S, which is
> pulled in through arch/um/kernel/dyn.lds.S and asm-um/common.lds.S.

You mean /asm-generic/vmlinux.lds.h?

That one defines the macro named BUG_TABLE, but does not use it. And
AFAICS neither does the other two files you mentioned.

So there's somthing fishy going on ;)

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