public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Blaisorblade <blaisorblade@yahoo.it>
To: linux-ia64@vger.kernel.org
Subject: Kconfig bug (was: Re: fault-injection framework on ia64)
Date: Fri, 16 Feb 2007 18:38:16 +0000	[thread overview]
Message-ID: <200702161938.17340.blaisorblade@yahoo.it> (raw)

On Friday 16 February 2007 18:30, Akinobu Mita wrote:
> > But if STACKTRACE depends on STACKTRACE_SUPPORT, which isn't defined on
> > ia64, kconfig should disable FAULT_INJECTION altogether with my patch (as
> > it did before it). I don't think that FAULT_INJECTION could be enabled
> > before my patch, right?
> >
> > _BUT_ probably STACKTRACE_SUPPORT should be defined, with default n and
> > no prompt, on ia64, or Kconfig gets confused (it should output a warning,
> > like 'undefined symbol STACKTRACE_SUPPORT'). We on UML used to get
> > warning when INPUT was used but not defined. Hmmm....
>
> Really? I intentionaly removed the STACKTRACE_SUPPORT in x86_64 Kconfig,
> then I did make menuconfig. But I didn't get such warning.
Well, I got that warning, and I don't get it on STACKTRACE_SUPPORT. Strange. 
But it was time ago...

However, more important, if I remove STACKTRACE_SUPPORT, or if I make 
it 'default n', FAULT_INJECTION can still be enabled, even if it selects 
STACKTRACE which has a failed dependency (tested on UML). Which is a Kconfig 
bug - if A selects B and B depends on C, no dependency of A on C is deduced. 
Right Roman?

This Kconfig bug explains how your bug could surface.

This also means that my patch cannot to go -stable because it would cause 
problems on IA64 and any arch without STACKTRACE_SUPPORT.
See if yours can, Akinobu.
-- 
Inform me of my mistakes, so I can add them to my list!
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade
Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 

             reply	other threads:[~2007-02-16 18:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-16 18:38 Blaisorblade [this message]
2007-02-16 19:12 ` Kconfig bug (was: Re: fault-injection framework on ia64) Roman Zippel
2007-02-16 20:10 ` Blaisorblade
2007-02-16 22:26 ` Roman Zippel
2007-02-17  0:06 ` Blaisorblade

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=200702161938.17340.blaisorblade@yahoo.it \
    --to=blaisorblade@yahoo.it \
    --cc=linux-ia64@vger.kernel.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