Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754416AbZKVJiH (ORCPT ); Sun, 22 Nov 2009 04:38:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753078AbZKVJiG (ORCPT ); Sun, 22 Nov 2009 04:38:06 -0500 Received: from mail-ew0-f219.google.com ([209.85.219.219]:55321 "EHLO mail-ew0-f219.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751845AbZKVJiF convert rfc822-to-8bit (ORCPT ); Sun, 22 Nov 2009 04:38:05 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=YJndi7wyoJreMJKM2VUF7TAydD9Aq/4ibhcUnV/t5NMlZANJOfXNoDcDX9UjPAZUbD h4TbwhzX21fHaS/v1neI32k2cdW3melI8Y/4meSuGP0cpeW+BpJU0z1U3n68IZe2cMKM 3sFgK7AXQfnDnzqrE2l9VG1bo9iyKiTwwqRRM= MIME-Version: 1.0 In-Reply-To: <4B06EF6F.2050507@redhat.com> References: <20091119072040.GA23579@elte.hu> <1258694593.22249.1012.camel@gandalf.stny.rr.com> <1258736456.22249.1032.camel@gandalf.stny.rr.com> <4B06EF6F.2050507@redhat.com> Date: Sun, 22 Nov 2009 01:38:09 -0800 Message-ID: <6dc9ffc80911220138y15bfa91agccf5c29f1c30e09a@mail.gmail.com> Subject: Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to detect GCC messing with mcount prologue From: "H.J. Lu" To: Andrew Haley Cc: rostedt@goodmis.org, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , LKML , Andrew Morton , Heiko Carstens , feng.tang@intel.com, Peter Zijlstra , Frederic Weisbecker , David Daney , Richard Guenther , jakub@redhat.com, gcc , Linus Torvalds Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1068 Lines: 31 On Fri, Nov 20, 2009 at 11:35 AM, Andrew Haley wrote: > Steven Rostedt wrote: >> Ingo, Thomas and Linus, >> >> I know Thomas did a patch to force the -mtune=generic, but just in case >> gcc decides to do something crazy again, this patch will catch it. >> >> Should we try to get this in now? > > I'm sure this makes sense, but a gcc test case would be even better. > If this can be detected in the gcc test suite it'll be found and > fixed long before y'all in kernel land get to see it. ?That's the > only way to guarantee this never bothers you again. > > H.J., who wrote the code in question, is hopefully looking at why > this odd code is being generated. ?Once he's done I can put a > suitable test case in the gcc test suite. > See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42109#c7 -- H.J. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/