From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=209.132.183.28; helo=mx1.redhat.com; envelope-from=lersek@redhat.com; receiver=edk2-devel@lists.01.org Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (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 5F4DD2116327F for ; Mon, 8 Oct 2018 03:49:41 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 416398EB53; Mon, 8 Oct 2018 10:49:41 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-120-219.rdu2.redhat.com [10.10.120.219]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6A22D600C8; Mon, 8 Oct 2018 10:49:40 +0000 (UTC) To: "Gao, Liming" , "Tomas Pilar (tpilar)" , "edk2-devel@lists.01.org" References: <1538186116-3792-1-git-send-email-dongao.guo@intel.com> <7b490137-3c8a-b5e3-9b48-c4ba1a3d588b@solarflare.com> <84933915-ca19-0c38-f772-953927a41144@redhat.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14E33302E@SHSMSX104.ccr.corp.intel.com> From: Laszlo Ersek Message-ID: <27808e8e-50e2-e216-7c51-26cfedf8c20c@redhat.com> Date: Mon, 8 Oct 2018 12:49:39 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <4A89E2EF3DFEDB4C8BFDE51014F606A14E33302E@SHSMSX104.ccr.corp.intel.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Mon, 08 Oct 2018 10:49:41 +0000 (UTC) Subject: Re: [PATCH] MdeModulePkg:disable wraning to pass gcc4.8 build X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2018 10:49:42 -0000 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit On 10/08/18 05:04, Gao, Liming wrote: > Laszlo: > We meet with this failure in GCC4.8 and GCC4.9, but not in GCC5. We don't verify earlier version than GCC4.8. > GCC48 is the specific tool chain for GCC4.8. But, GCC49 is the general tool chain that can be used with GCC4.9 or the above GCC version for LTO disable. So, even if we specify this warning for GCC48 and GCC49, it may be applied for GCC5 version. To be simplified, I suggest to disable this warning in the general style. I suggest to add more comments here to describe this warning for GCC4.8, GCC4.9 version. Not for GCC5. OK, thank you. Laszlo