Re: [RFC] Force build error on undefined symbols

From: Russell King
Date: Sat Apr 10 2004 - 09:36:48 EST


On Sat, Apr 10, 2004 at 04:24:01PM +0200, Sam Ravnborg wrote:
> >
> > Therefore, I propose the following patch to detect undefined symbols
> > in the final image and force an error if this is the case.
> >
> > Comments?
>
> Do we really want to do this for all architectures?
> You could use something like the attached to restrict it to arm.

Unfortunately, some people got it into their heads to use the top
level vmlinux directly, so this wouldn't always catch the problem.
It really needs to be done immediately after vmlinux is generated
to ensure that all cases are caught.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
-
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/