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

Keith Owens (kaos@ocs.com.au)
Wed, 02 Apr 2003 21:17:11 +1000


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/