From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754081Ab2D1JLL (ORCPT ); Sat, 28 Apr 2012 05:11:11 -0400 Received: from smtp.snhosting.dk ([87.238.248.203]:53426 "EHLO smtp.domainteam.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752217Ab2D1JLK (ORCPT ); Sat, 28 Apr 2012 05:11:10 -0400 Date: Sat, 28 Apr 2012 11:11:08 +0200 From: Sam Ravnborg To: Andi Kleen Cc: Steven Rostedt , LKML , linux-kbuild , Michal Marek , "H. Peter Anvin" , Andrew Morton , Ingo Molnar , Frederic Weisbecker Subject: Re: RFC: How to handle function tracing, frame pointers and -mfentry? Message-ID: <20120428091108.GA6847@merkur.ravnborg.org> References: <1335552399.28106.228.camel@gandalf.stny.rr.com> <20120428083603.GJ27374@one.firstfloor.org> <20120428085028.GA6507@merkur.ravnborg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120428085028.GA6507@merkur.ravnborg.org> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 28, 2012 at 10:50:28AM +0200, Sam Ravnborg wrote: > > > > I just measured and a null compile (nothing changes) of a current > > tree calls "gcc" 141 times. > Something is wrong then which must be fixed. > There are 55 uses of cc-option in */x86/* > And only 7 uses of cc-option in the top-level Makefile. > > So it looks like we evalute the same assignmet twice or more. "make defconfig" in my box calls gcc 50 times. This looks much closer to the actual usage of cc-option in the above mentioned files. How did you manage to achieve 144 calls to gcc? Any specific configuration that triggers this? Sam