DragonFly BSD
DragonFly bugs List (threaded) for 2005-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Got it (Re: KERNLOAD undeclared error during buildkernel)


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 27 Jun 2005 15:29:55 -0700 (PDT)

:    How odd.  It's got to be that somehow __i386__ wasn't defined
:    before, and is now (maybe a compiler or preprocessor change),
:    because I don't see a KERNLOAD anywhere in the codebase other
:    then in that assert.

    Figured it out!

    Simon's commit today did it:

    If compiling a module with the kernel, suck in opt_global.h.

    Before this commit, INVARIANTS was *NEVER* defined during the
    module build because, well, they were modules and until this commit
    modules did not inherit kernel options.  Since INVARIANTS was not
    being used, the KASSERT() was #define'd to nothing.

    In anycase, the KASSERT in madt is bogus, I'll remove it :-)

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



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