Re: Question about genassym, locore.s and 0-sized arrays (showstopper for an icc compiled kernel)

From: Garrett Wollman <wollman_at_khavrinen.lcs.mit.edu>
Date: Thu, 4 Sep 2003 21:42:58 -0400 (EDT)
<<On Thu, 4 Sep 2003 18:19:02 -0700, Marcel Moolenaar <marcel_at_xcllnt.net> said:

> In theory, yes. In practice, maybe not. If I remember correctly,
> the problem we're trying to solve is twofold:

Actually, the problem we were trying to solve is simpler than that.

genassym needs to be able to compute the values of certain constants
from header files which are only accessible to kernel code.  At the
same time, it needs to be able to run as a user process.  One
compilation unit cannot include both Standard headers like <stdio.h>
and kernel-specific headers like <sys/systm.h>.  In fact, we muck with
the include path to ensure that Standard headers cannot be included
while compiling kernel source.

Cross-compilation does engender other issues, but that wasn't the
original motivation.

-GAWollman
Received on Thu Sep 04 2003 - 16:43:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:21 UTC