On 12/27/10 23:06, Michael J. Barillier wrote:
> I'm trying to compile a hardened kernel (linux-2.6.36-hardened-r6) and
> the build is generating thousands (literally) of section mismatch
> warnings.  I've copied my old .config (2.6.31, non-hardened) to the root
> of the source tree and did a `make oldconfig' followed by `make
> CONFIG_DEBUG_SECTION_MISMATCH=y'.  WTF's up with this?
> 
> FWIW, I'm working on rebuilding my box and the make is within a
> chroot'ed environment - working through the system build process to a
> temporary directory tree with the intent of booting from a CD and
> replacing the existing filesystem with the new version.
> 
> FWIW#2: Google'd `linux section mismatch' and didn't get any hits that
> would point to a reason for the mismatches or a solution for resolving
> them.
> 

Just ignore them. They might indicate kernel bugs (like compiler
warnings), but even if they did, there's nothing you could do about them.

Setting CONFIG_DEBUG_SECTION_MISMATCH=y just gives you more info that
you don't need.

Reply via email to