From: Sam Ravnborg <sam@ravnborg.org>
To: Roman Zippel <zippel@linux-m68k.org>
Cc: linux-kbuild <linux-kbuild@vger.kernel.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 06/13] kconfig: print all locations when we see a recursive dependency
Date: Wed, 31 Dec 2008 10:05:10 +0100 [thread overview]
Message-ID: <20081231090510.GA15943@uranus.ravnborg.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0812310346430.17013@localhost.localdomain>
On Wed, Dec 31, 2008 at 03:55:00AM +0100, Roman Zippel wrote:
> Hi,
>
> On Mon, 29 Dec 2008, Sam Ravnborg wrote:
>
> > It is nessesary to know all locations when trying to track
> > a recursive dependency. So print out all locations for each symbol.
>
> The problem is that this is little more than a better grep, although
> kconfig knows exactly what went wrong, but this info is scattered all over
> the stack.
> We could either return more info to print more than just the symbol or
> maintain more info while traversing the tree. The patch below does the
> latter. The patch could use some small cleanups, so it's not final yet.
Hi Roman.
I will drop
"[PATCH 05/13] kconfig: improve readout when we hit recursive dependencies"
"[PATCH 06/13] kconfig: print all locations when we see a recursive dependency"
and will await an updated version of the patch below.
Notice that with your patch below we still hit the segmentation fault
with the small test sample included in the description of 05/13:
config TEST1
bool
depends on TEST2 && PCI
select TEST2
config TEST2
bool
I guess this was one of the cleanups you had in mind.
I added a promt and then I got the following error message:
Kconfig:2:error: recursive dependency detected!
Kconfig:2: symbol TEST1 prompt depends on TEST2
Kconfig:4: symbol TEST2 is selected by TEST1
This is indeed better than before.
Kconfig:2: symbol TEST1 prompt depends on TEST2
should read:
Kconfig:2: symbol TEST1 depends on TEST2
As it just confuses with the "prompt" in the text.
It would be good to have the final patch ready soon so we can include
it in 2.6.29.
Thanks,
Sam
next prev parent reply other threads:[~2008-12-31 9:03 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-29 13:44 pending kbuild updates Sam Ravnborg
2008-12-29 13:53 ` [PATCH 01/13] m68k: fix recursive dependency in Kconfig Sam Ravnborg
2008-12-29 13:53 ` [PATCH 02/13] kconfig: explain symbol value defaults Sam Ravnborg
2008-12-29 13:53 ` [PATCH 03/13] kconfig: add comments to symbol flags Sam Ravnborg
2008-12-29 13:53 ` [PATCH 04/13] kconfig: struct property commented Sam Ravnborg
2008-12-29 13:53 ` [PATCH 05/13] kconfig: improve readout when we hit recursive dependencies Sam Ravnborg
2008-12-29 13:53 ` [PATCH 06/13] kconfig: print all locations when we see a recursive dependency Sam Ravnborg
2008-12-31 2:55 ` Roman Zippel
2008-12-31 9:05 ` Sam Ravnborg [this message]
2009-01-18 20:54 ` Sam Ravnborg
2008-12-29 13:53 ` [PATCH 07/13] kconfig: improve error messages for bad source statements Sam Ravnborg
2008-12-29 13:53 ` [PATCH 08/13] headers_check.pl: disallow extern's Sam Ravnborg
2008-12-29 13:53 ` [PATCH 09/13] kbuild: check for leaked CONFIG_ symbols to userspace Sam Ravnborg
2008-12-29 13:53 ` [PATCH 10/13] kbuild: in headers_install autoconvert asm/inline/volatile to __xxx__ Sam Ravnborg
2008-12-29 13:53 ` [PATCH 11/13] kbuild: disable sparse warning "returning void-valued expression" Sam Ravnborg
2008-12-29 13:53 ` [PATCH 12/13] kbuild: make *config usage docs Sam Ravnborg
2008-12-29 13:53 ` [PATCH 13/13] kbuild: document environment variables Sam Ravnborg
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=20081231090510.GA15943@uranus.ravnborg.org \
--to=sam@ravnborg.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=zippel@linux-m68k.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