Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: CVS commit: syssrc/sys/conf



   
   > 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?



Home | Main Index | Thread Index | Old Index