From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5073 invoked by alias); 1 Dec 2010 13:22:13 -0000 Received: (qmail 5064 invoked by uid 22791); 1 Dec 2010 13:22:12 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-ey0-f169.google.com (HELO mail-ey0-f169.google.com) (209.85.215.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Dec 2010 13:22:07 +0000 Received: by eydd26 with SMTP id d26so17090029eyd.0 for ; Wed, 01 Dec 2010 05:22:05 -0800 (PST) Received: by 10.216.18.71 with SMTP id k49mr7552447wek.67.1291209725385; Wed, 01 Dec 2010 05:22:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.186.148 with HTTP; Wed, 1 Dec 2010 05:21:45 -0800 (PST) In-Reply-To: <20101129220350.GA10923@core2.telecom.by> References: <20101129081619.GD5218@cr0.nay.redhat.com> <4CF36741.9000808@loongson.cn> <4CF3762B.9010102@loongson.cn> <13700.1291054229@localhost> <20101129220350.GA10923@core2.telecom.by> From: Hui Zhu Date: Wed, 01 Dec 2010 13:22:00 -0000 Message-ID: Subject: Re: [hellogcc] Re: [PATCH] Built kernel without -O2 option To: Alexey Dobriyan Cc: Valdis.Kletnieks@vt.edu, =?GB2312?B?x8ez5w==?= , hellogcc@freelists.org, =?ISO-8859-1?Q?Am=E9rico_Wang?= , linux-kernel@vger.kernel.org, gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-12/txt/msg00007.txt.bz2 On Tue, Nov 30, 2010 at 06:03, Alexey Dobriyan wrote: > On Mon, Nov 29, 2010 at 01:10:29PM -0500, Valdis.Kletnieks@vt.edu wrote: >> That may result in issues - the problem is that there are places in the = kernel >> where 'gcc -O0' will *compile* cleanly, but not actually *run* correctly. > > Since nobody (no-bo-dy) runs kernel with -O0, I'd suggest original > poster to learn how to debug kernel with constrained information. > > I'll be most certainly faster. :^) > -- > 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 =A0http://vger.kernel.org/majordomo-info.html > Please read the FAQ at =A0http://www.tux.org/lkml/ > Do you know Linux kernel cannot be built with "gcc -O0" now? I think you should said "Since nobody (no-bo-dy) don't want built kernel with -O0". But how you know all the people's idea? :) Thanks, Hui