lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090415073720.GC18192@elte.hu>
Date:	Wed, 15 Apr 2009 09:37:20 +0200
From:	Ingo Molnar <mingo@...e.hu>
To:	Steven Rostedt <srostedt@...hat.com>
Cc:	Johannes Berg <johannes@...solutions.net>,
	Ingo Molnar <mingo@...hat.com>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: TRACE_BRANCH_PROFILING breaks gcc warnings


* Steven Rostedt <srostedt@...hat.com> wrote:

> 
> On Wed, 2009-04-15 at 00:28 +0200, Johannes Berg wrote:
> > With TRACE_BRANCH_PROFILING enabled you get "dummy may be used
> > uninitialised" with code like the following (and gcc 4.3.3):
> > 
> > void *dummy, *c;
> > 
> > if (a && (dummy = b()))
> > 	c = dummy;
> > 
> > Therefore, allyesconfig has become useless for looking at warnings.

There's an easy solution for that problem btw: you just have to 
disable the branch tracer after allyesconfig. [ Or fix the compiler. 
Or both ;-) ]

I'm also curious, how often do you do allyesconfig builds? I've 
never seen you report one before. Have you started doing them 
recently? How much time does it take on your system?

> > :(
> 
> This has been mentioned before, and I've asked about sending a 
> patch that would prevent TRACE_BRANCH_PROFILING from being 
> selected with an allyesconfig.
> 
> It is easy to do. I could make it a selection and not a boolean 
> and it will not select it as default, even for allyes/modconfig
> 
> Thoughts?

That's a good idea - please send a patch.

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ