Subject: re: CVS commit: syssrc/sys/conf
To: Nathan J. Williams <nathanw@wasabisystems.com>
From: matthew green <mrg@eterna.com.au>
List: source-changes
Date: 12/27/2001 16:07:03
   
   > Module Name:	syssrc
   > Committed By:	thorpej
   > Date:		Sun Dec 23 22:45:07 UTC 2001
   > 
   > Modified Files:
   > 	syssrc/sys/conf: Makefile.kern.inc
   > 
   > Log Message:
   > Add -ffreestanding to kernel builds.  It's not always safe to
   > use GCC's built-ins.
   
   Could you elaborate on the reasoning here? Adding -ffreestanding broke
   everything that used alloca(), which seems to include a chunk of
   cardbus, macppc kernels, and the generic ofw_subr code.


either alloca shouldn't be used or the builtin should be used ...
(i'm guessing the latter, see libkern.h i think).


jason, shouldn't bsd.lkm.mk also have it?