Re: genksyms crashes on drivers/char/joystick/pcigame.c

From: Keith Owens (kaos@ocs.com.au)
Date: Wed Apr 02 2003 - 06:17:11 EST


On Tue, 1 Apr 2003 17:19:18 +0200,
Adam Lackorzynski <adam@os.inf.tu-dresden.de> wrote:
>when genksyms is used on drivers/char/joystick/pcigame.c during "make
>dep" it segfaults.

genksyms assumes and requires valid C code as input. genksyms does not
attempt to validate the source, that is the job of gcc. If gcc barfs
on the code, then do not attempt to run it through genksyms. This
looks like a chicken and egg problem but is not, compile with
MODVERSIONS=n to verify that new code is valid before building with
MODVERSIONS=y. To put it another way, do not run modversions on test
kernels.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Apr 07 2003 - 22:00:16 EST