linux module problem with new kernel

Robert Garrett rg70 at sbcglobal.net
Sat Feb 21 17:22:13 PST 2004


Rob Schulhof wrote:
OK,  the problem started with

src/sys/conf/Makefile.i386, changed Feb 16th

Summary: Compile the kernel with -fno-common to guarentee that we do not
accidently put non-extern'd variable declarations in header files.  Our
module loader no longer deals with commons so duplicate declarations can
cause kldloaded modules to fail, and its sloppy programming anyway.
That's about as far as I can take it today.

BTW, my email is not rrs at xxxxxxxxxxxxxx  Sorry about that.

--Rob

Yes, -fno-common is the culprit, as to the fix, I will look at it later 
tonight and see what I can find.

world builds kernel builds everything is fine, just a few little niches 
that need to be touched upon matt.
we are working on those..

Rob





More information about the Bugs mailing list