From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from muon.cran.org.uk (muon.bluestop.org [74.50.51.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id E2D3A1A1E05 for ; Tue, 11 Oct 2016 08:16:40 -0700 (PDT) Received: from muon.bluestop.org (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 811B283504; Tue, 11 Oct 2016 15:16:39 +0000 (UTC) Received: from muon.cran.org.uk ([127.0.0.1]) by muon.bluestop.org (muon.bluestop.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 7EgxSNKBCS8d; Tue, 11 Oct 2016 15:16:38 +0000 (UTC) Received: from [10.0.10.17] (c-67-171-116-44.hsd1.ut.comcast.net [67.171.116.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Tue, 11 Oct 2016 15:16:38 +0000 (UTC) To: Yonghong Zhu , edk2-devel@lists.01.org References: <1476151236-43084-1-git-send-email-yonghong.zhu@intel.com> Cc: Laszlo Ersek , Liming Gao From: Bruce Cran Message-ID: <056a28fe-e4d9-da57-72b6-73a65c8c225f@cran.org.uk> Date: Tue, 11 Oct 2016 09:16:37 -0600 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <1476151236-43084-1-git-send-email-yonghong.zhu@intel.com> Subject: Re: [Patch V4] BaseTools: support the NOOPT target with the GCC tool chains X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Oct 2016 15:16:41 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 10/10/2016 8:00 PM, Yonghong Zhu wrote: > Update the tools_def.template to add NOOPT support with GCC tool chains. > Also disable -flto and -Os in NOOPT target for GCC5. > > Cc: Liming Gao > Cc: Laszlo Ersek > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Yonghong Zhu Tested-by: Bruce Cran Tested with GCC49 and GCC5 toolchain builds and verified neither causes gdb single-stepping to jump around. -- Bruce