From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11237 invoked by alias); 29 Nov 2010 18:11:10 -0000 Received: (qmail 11227 invoked by uid 22791); 29 Nov 2010 18:11:10 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from lennier.cc.vt.edu (HELO lennier.cc.vt.edu) (198.82.162.213) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 29 Nov 2010 18:11:05 +0000 Received: from dagger.cc.vt.edu (dagger.cc.vt.edu [198.82.163.114]) by lennier.cc.vt.edu (8.13.8/8.13.8) with ESMTP id oATIAPZp027618; Mon, 29 Nov 2010 13:10:29 -0500 Received: from turing-police.cc.vt.edu (EHLO localhost) ([128.173.14.107]) by dagger.cc.vt.edu (MOS 4.2.2-FCS FastPath queued) with ESMTP id OAY43912; Mon, 29 Nov 2010 13:10:29 -0500 (EST) To: =?GB2312?B?x8ez5w==?= Cc: hellogcc@freelists.org, =?GB2312?B?QW2opnJpY28gV2FuZw==?= , linux-kernel@vger.kernel.org, gdb@sourceware.org Subject: Re: [hellogcc] Re: [PATCH] Built kernel without -O2 option In-Reply-To: Your message of "Mon, 29 Nov 2010 17:45:15 +0800." <4CF3762B.9010102@loongson.cn> From: Valdis.Kletnieks@vt.edu References: <20101129081619.GD5218@cr0.nay.redhat.com> <4CF36741.9000808@loongson.cn> <4CF3762B.9010102@loongson.cn> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1291054229_5346P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Mon, 29 Nov 2010 18:11:00 -0000 Message-ID: <13700.1291054229@localhost> X-Mirapoint-Received-SPF: 128.173.14.107 localhost Valdis.Kletnieks@vt.edu 2 pass X-Mirapoint-IP-Reputation: reputation=neutral-1, source=Fixed, refid=n/a, actions=MAILHURDLE SPF TAG X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A020206.4CF3EC95.0259,ss=1,fgs=0, ip=0.0.0.0, so=2010-07-22 22:03:31, dmn=2009-09-10 00:05:08, mode=single engine 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-11/txt/msg00122.txt.bz2 --==_Exmh_1291054229_5346P Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-length: 320 On Mon, 29 Nov 2010 17:45:15 +0800, =E4=B9=94=E5=B4=87 said: > change mycc to this will work,:) >=20 > #!/bin/sh > gcc "$@" -O0 || > gcc "$@" -O1 || > gcc "$@" That may result in issues - the problem is that there are places in the ker= nel where 'gcc -O0' will *compile* cleanly, but not actually *run* correctly. --==_Exmh_1291054229_5346P Content-Type: application/pgp-signature Content-length: 227 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Exmh version 2.5 07/13/2001 iD8DBQFM8+yVcC3lWbTT17ARAtCwAJ9sOL0h3muu0If6DS8EMeeYm/1mbwCfSwID 5xRV4P1ewn72coIjaViOrnU= =kmTU -----END PGP SIGNATURE----- --==_Exmh_1291054229_5346P--