Re: [PATCH] kbuild: reenable section mismatch analysis

From: Mike Frysinger
Date: Thu Mar 10 2011 - 20:01:52 EST


2011/3/10 Andrew Morton :
> On Fri, 18 Feb 2011 21:47:20 +0100 Uwe Kleine-K__nig wrote:
>> This was disabled in commit
>>
>> Â Â Â e5f95c8 (kbuild: print only total number of section mismatces found)
>>
>> because there were too many warnings. ÂNow we're down to a reasonable
>> number again, so we start scaring people with the details.
>>
>> --- a/lib/Kconfig.debug
>> +++ b/lib/Kconfig.debug
>> @@ -102,11 +102,7 @@ config HEADERS_CHECK
>>
>> Âconfig DEBUG_SECTION_MISMATCH
>> Â Â Â bool "Enable full Section mismatch analysis"
>> - Â Â depends on UNDEFINED || (BLACKFIN)
>> Â Â Â default y
>> - Â Â # This option is on purpose disabled for now.
>> - Â Â # It will be enabled when we are down to a reasonable number
>> - Â Â # of section mismatch warnings (< 10 for an allyesconfig build)
>> Â Â Â help
>> Â Â Â Â The section mismatch analysis checks if there are illegal
>> Â Â Â Â references from one section to another section.
>
> eaaaargh! Â650 lines of crap added to my i386 allmodconfig build output.

and it's going to keep staying all f-ed up until people start seeing
this stuff themselves when they write the bad code
-mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/