* Re: [PATCH] kbuild: reenable section mismatch analysis
2011-02-18 20:47 ` [PATCH] kbuild: reenable section mismatch analysis Uwe Kleine-König
@ 2011-02-18 20:50 ` Randy Dunlap
2011-02-18 21:42 ` Mike Frysinger
` (2 subsequent siblings)
3 siblings, 0 replies; 13+ messages in thread
From: Randy Dunlap @ 2011-02-18 20:50 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Michal Marek, Sam Ravnborg, linux-kernel, kernel,
linux-arm-kernel
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.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Thanks.
> ---
> lib/Kconfig.debug | 4 ----
> 1 files changed, 0 insertions(+), 4 deletions(-)
>
> diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
> index 2b97418..0f77ed1 100644
> --- 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.
> --
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: [PATCH] kbuild: reenable section mismatch analysis
2011-02-18 20:47 ` [PATCH] kbuild: reenable section mismatch analysis Uwe Kleine-König
2011-02-18 20:50 ` Randy Dunlap
@ 2011-02-18 21:42 ` Mike Frysinger
2011-02-24 15:26 ` Michal Marek
2011-03-11 0:41 ` Andrew Morton
3 siblings, 0 replies; 13+ messages in thread
From: Mike Frysinger @ 2011-02-18 21:42 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Michal Marek, Sam Ravnborg, linux-kernel, kernel,
linux-arm-kernel
2011/2/18 Uwe Kleine-König <u.kleine-koenig@pengutronix.de>:
> 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.
Acked-by: Mike Frysinger <vapier@gentoo.org>
-mike
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH] kbuild: reenable section mismatch analysis
2011-02-18 20:47 ` [PATCH] kbuild: reenable section mismatch analysis Uwe Kleine-König
2011-02-18 20:50 ` Randy Dunlap
2011-02-18 21:42 ` Mike Frysinger
@ 2011-02-24 15:26 ` Michal Marek
2011-03-11 0:41 ` Andrew Morton
3 siblings, 0 replies; 13+ messages in thread
From: Michal Marek @ 2011-02-24 15:26 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Sam Ravnborg, linux-kernel, kernel, linux-arm-kernel
On 18.2.2011 21:47, 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.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
OK, applied to kbuild-2.6.git#kbuild.
Thanks,
Michal
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH] kbuild: reenable section mismatch analysis
2011-02-18 20:47 ` [PATCH] kbuild: reenable section mismatch analysis Uwe Kleine-König
` (2 preceding siblings ...)
2011-02-24 15:26 ` Michal Marek
@ 2011-03-11 0:41 ` Andrew Morton
2011-03-11 0:44 ` Randy Dunlap
` (2 more replies)
3 siblings, 3 replies; 13+ messages in thread
From: Andrew Morton @ 2011-03-11 0:41 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Michal Marek, Sam Ravnborg, linux-kernel, kernel,
linux-arm-kernel
On Fri, 18 Feb 2011 21:47:20 +0100
Uwe Kleine-K__nig <u.kleine-koenig@pengutronix.de> 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.
>
> Signed-off-by: Uwe Kleine-K__nig <u.kleine-koenig@pengutronix.de>
> ---
> lib/Kconfig.debug | 4 ----
> 1 files changed, 0 insertions(+), 4 deletions(-)
>
> diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
> index 2b97418..0f77ed1 100644
> --- 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.
I'll be locally opting out of this one, thanks.
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: [PATCH] kbuild: reenable section mismatch analysis
2011-03-11 0:41 ` Andrew Morton
@ 2011-03-11 0:44 ` Randy Dunlap
2011-03-11 1:00 ` Mike Frysinger
2011-03-11 5:47 ` Sam Ravnborg
2 siblings, 0 replies; 13+ messages in thread
From: Randy Dunlap @ 2011-03-11 0:44 UTC (permalink / raw)
To: Andrew Morton
Cc: Uwe Kleine-König, Michal Marek, Sam Ravnborg, linux-kernel,
kernel, linux-arm-kernel
On Thu, 10 Mar 2011 16:41:00 -0800 Andrew Morton wrote:
> On Fri, 18 Feb 2011 21:47:20 +0100
> Uwe Kleine-K__nig <u.kleine-koenig@pengutronix.de> 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.
> >
> > Signed-off-by: Uwe Kleine-K__nig <u.kleine-koenig@pengutronix.de>
> > ---
> > lib/Kconfig.debug | 4 ----
> > 1 files changed, 0 insertions(+), 4 deletions(-)
> >
> > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
> > index 2b97418..0f77ed1 100644
> > --- 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.
Each message is a bit longish, yes.
> I'll be locally opting out of this one, thanks.
> --
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH] kbuild: reenable section mismatch analysis
2011-03-11 0:41 ` Andrew Morton
2011-03-11 0:44 ` Randy Dunlap
@ 2011-03-11 1:00 ` Mike Frysinger
2011-03-11 1:05 ` Andrew Morton
2011-03-11 5:47 ` Sam Ravnborg
2 siblings, 1 reply; 13+ messages in thread
From: Mike Frysinger @ 2011-03-11 1:00 UTC (permalink / raw)
To: Andrew Morton
Cc: Uwe Kleine-König, Michal Marek, Sam Ravnborg, linux-kernel,
kernel, linux-arm-kernel
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH] kbuild: reenable section mismatch analysis
2011-03-11 1:00 ` Mike Frysinger
@ 2011-03-11 1:05 ` Andrew Morton
2011-03-11 1:34 ` Mike Frysinger
0 siblings, 1 reply; 13+ messages in thread
From: Andrew Morton @ 2011-03-11 1:05 UTC (permalink / raw)
To: Mike Frysinger
Cc: Uwe Kleine-König, Michal Marek, Sam Ravnborg, linux-kernel,
kernel, linux-arm-kernel
On Thu, 10 Mar 2011 20:00:54 -0500
Mike Frysinger <vapier.adi@gmail.com> wrote:
> >
> > 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
That won't work - everyone will either disable the messages or will
train themselves to ignore them.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH] kbuild: reenable section mismatch analysis
2011-03-11 1:05 ` Andrew Morton
@ 2011-03-11 1:34 ` Mike Frysinger
0 siblings, 0 replies; 13+ messages in thread
From: Mike Frysinger @ 2011-03-11 1:34 UTC (permalink / raw)
To: Andrew Morton
Cc: Uwe Kleine-König, Michal Marek, Sam Ravnborg, linux-kernel,
kernel, linux-arm-kernel
On Thu, Mar 10, 2011 at 20:05, Andrew Morton wrote:
> On Thu, 10 Mar 2011 20:00:54 -0500 Mike Frysinger wrote:
>> > 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
>
> That won't work - everyone will either disable the messages or will
> train themselves to ignore them.
the status quo is obviously not working. i spent quite a bit of time
in the past to get the warnings down to 0 for my builds and all ive
seen since then is the # creep back up. if people arent being made
aware of the issue, they obviously arent going to do anything about
it. some people might condition themselves to ignore it, but that
applies to any sort of warning message.
-mike
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH] kbuild: reenable section mismatch analysis
2011-03-11 0:41 ` Andrew Morton
2011-03-11 0:44 ` Randy Dunlap
2011-03-11 1:00 ` Mike Frysinger
@ 2011-03-11 5:47 ` Sam Ravnborg
2 siblings, 0 replies; 13+ messages in thread
From: Sam Ravnborg @ 2011-03-11 5:47 UTC (permalink / raw)
To: Andrew Morton
Cc: Uwe Kleine-König, Michal Marek, linux-kernel, kernel,
linux-arm-kernel
On Thu, Mar 10, 2011 at 04:41:00PM -0800, Andrew Morton wrote:
> On Fri, 18 Feb 2011 21:47:20 +0100
> Uwe Kleine-K__nig <u.kleine-koenig@pengutronix.de> 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.
> >
> > Signed-off-by: Uwe Kleine-K__nig <u.kleine-koenig@pengutronix.de>
> > ---
> > lib/Kconfig.debug | 4 ----
> > 1 files changed, 0 insertions(+), 4 deletions(-)
> >
> > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
> > index 2b97418..0f77ed1 100644
> > --- 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.
>
> I'll be locally opting out of this one, thanks.
How about that we enable this in the merge window.
And if it continue to be unreasonable then drop it again
around rc5 time?
The likelyhood that warnings are fixed is bigger if people
see them and get annoyed.
Sam
^ permalink raw reply [flat|nested] 13+ messages in thread