From: Michal Marek <mmarek@suse.cz>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
bp@alien8.de, dot@dotat.at, mikew@google.com,
randy.dunlap@oracle.com, linux-kbuild@vger.kernel.org,
linux-kernel@vger.kernel.org, Mike Frysinger <vapier@gentoo.org>,
Randy Dunlap <rdunlap@xenotime.net>
Subject: Re: [GIT] kbuild core updates for 2.6.39-rc1
Date: Mon, 21 Mar 2011 11:17:49 +0100 [thread overview]
Message-ID: <20110321101749.GA5228@sepie.suse.cz> (raw)
In-Reply-To: <20110321074748.GF27124@pengutronix.de>
On Mon, Mar 21, 2011 at 08:47:48AM +0100, Uwe Kleine-König wrote:
> On Sun, Mar 20, 2011 at 05:53:24PM -0700, Linus Torvalds wrote:
> > On Sat, Mar 19, 2011 at 1:58 AM, Michal Marek <mmarek@suse.cz> wrote:
> > >
> > > * Section mismatch analysis enabled by default
> > > - there are only a few warnings for defconfig builds,
> > > all{yes,mod}config still has a lot of them. Depending on the general
> > > perception of this change, we might disable it later in the rc phase
> > > again.
> >
> > No.
> >
> > We don't enable stuff like this by default. Not when it actually
> > changes some really fundamental compiler flags, and thus the whole "we
> > can disable it late in -rc again" is a totally broken option, since if
> > we have any compiler issues, we'd want to know it early.
OK, point taken.
> Michal, do you want just remove the default y and squash it into the
> commit?
I'm about to add this to the kbuild branch. Linus, would you pull such
version?
From: Michal Marek <mmarek@suse.cz>
Subject: [PATCH] kbuild: Make DEBUG_SECTION_MISMATCH selectable, but not on by default
CONFIG_DEBUG_SECTION_MISMATCH has also runtime effects due to the
-fno-inline-functions-called-once compiler flag, so forcing it on
everyone is not a good idea.
Signed-off-by: Michal Marek <mmarek@suse.cz>
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 8b6a4f1..5a24805 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -102,7 +102,6 @@ config HEADERS_CHECK
config DEBUG_SECTION_MISMATCH
bool "Enable full Section mismatch analysis"
- default y
help
The section mismatch analysis checks if there are illegal
references from one section to another section.
Michal
prev parent reply other threads:[~2011-03-21 10:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-19 8:58 [GIT] kbuild core updates for 2.6.39-rc1 Michal Marek
2011-03-21 0:53 ` Linus Torvalds
2011-03-21 7:47 ` Uwe Kleine-König
2011-03-21 10:17 ` Michal Marek [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110321101749.GA5228@sepie.suse.cz \
--to=mmarek@suse.cz \
--cc=bp@alien8.de \
--cc=dot@dotat.at \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mikew@google.com \
--cc=randy.dunlap@oracle.com \
--cc=rdunlap@xenotime.net \
--cc=torvalds@linux-foundation.org \
--cc=u.kleine-koenig@pengutronix.de \
--cc=vapier@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox