Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp106567ybt; Tue, 16 Jun 2020 18:03:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDdneVW9hZsL6bu2EjBL5n7EIUyDNh8iMEkEv0UlhWIH4qhdi1MDnPVZi/KkpQY2TfiDaI X-Received: by 2002:aa7:cd12:: with SMTP id b18mr5127297edw.195.1592355808639; Tue, 16 Jun 2020 18:03:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592355808; cv=none; d=google.com; s=arc-20160816; b=XmJ7GEZ7OjjDFzsZt1HUxfCEKBpoQRdVxd26Th5ILBWaw+e6/PEvnA6/XaWnuLdJ3o PSBvF3YHN5oTcDYmvh15g+5RbIogVTBLVkTkv3wz3G4L7r8EWTb8Svl6XCcfj4L8iaOl 6JKpQ+uRs/cG+y5IvxJkPIaH7yfSFSdIHRVmpkP9fMx9916qcBmofyYHwXU/O+838KTS aQZsqd7Hj02Jb6sRimqi5AjxROZFnmsT76ayMMgU4/JIKEHoY3DcfPm2rVFF9obC80B6 XaQ1AWI77pmy2+EZioTL/2SuN3JEFLjbHtP5RNydXnThhwp+Nedpw6vQLQRCQu4gdNuh 5DnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=BCTa9g8go01ksLn56HUtkNfYWvFTA+B4FK5GnkDaHPQ=; b=XxmEMeXe5XEJlTRGFktExpLGrT9TwIdSKGHxSGHhQaHfd56ZVKTHGqsq6aUa0wrLvq NY8uKyZCWkVMwtyKp+LR07foy+z6i9loZhvx0MB94zEWG858X8jL3PTvu1Hiwemta7ax 9aEItk2/P8AqBL8r0P7yZm9pro6nNtFeOVjHCgJVdZreDVqmA6xHyyNcSncRo7WlNKOs T5uDC3Q8GvyvdOObDa6yZoWFvD8QWWxTpJDH0vxy8uDND7Ta/nAAYyEQVI84nFw8VZu5 eOEeeDphAOVCmxGIQLfP+ShPWlXmvtbFFPzDou+ONQlH5bCx/ifTHlgtmty+kQwtvX3O s7cQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s12si11142881edw.181.2020.06.16.18.03.05; Tue, 16 Jun 2020 18:03:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726568AbgFQBBO (ORCPT + 99 others); Tue, 16 Jun 2020 21:01:14 -0400 Received: from mga17.intel.com ([192.55.52.151]:27658 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725964AbgFQBBN (ORCPT ); Tue, 16 Jun 2020 21:01:13 -0400 IronPort-SDR: TYIXCx1HDAMZXZJ9mHA3gTzW8BgL6qf3oseZvSP8YLU8L9CXn3/z+inXF4/S2P6bJ8sxyMNT58 11RhYNhgimyQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jun 2020 18:01:12 -0700 IronPort-SDR: 4xmHLeeM4gwaZR8yzRYjs+5Xw0SsdV0eHjEsOYfsEa7KORRVKn5dwyYvVJB3P6hTmg3ksaNVCH KkQMj2J6roDQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,520,1583222400"; d="scan'208";a="450051692" Received: from shao2-debian.sh.intel.com (HELO localhost) ([10.239.13.3]) by orsmga005.jf.intel.com with ESMTP; 16 Jun 2020 18:01:09 -0700 Date: Wed, 17 Jun 2020 09:00:51 +0800 From: Rong Chen To: Peter Zijlstra Cc: Marco Elver , kernel test robot , kbuild-all@lists.01.org, Miguel Ojeda , linux-kernel@vger.kernel.org, Thomas Gleixner Subject: Re: [kbuild-all] Re: [PATCH] compiler_attributes.h: Support no_sanitize_undefined check with GCC 4 Message-ID: <20200617010051.GS5653@shao2-debian> References: <202006160328.6MfJNuqX%lkp@intel.com> <20200615231529.GA119644@google.com> <20200616131921.GV2531@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200616131921.GV2531@hirez.programming.kicks-ass.net> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 16, 2020 at 03:19:21PM +0200, Peter Zijlstra wrote: > On Tue, Jun 16, 2020 at 01:15:29AM +0200, Marco Elver wrote: > > UBSAN is supported since GCC 4.9, which unfortunately did not yet have > > __has_attribute(). To work around, the __GCC4_has_attribute workaround > > requires defining which compiler version supports the given attribute. > > > > In the case of no_sanitize_undefined, it is the first version that > > supports UBSAN, which is GCC 4.9. > > > > Reported-by: kernel test robot > > Signed-off-by: Marco Elver > > --- > > > > Doing a 'make W=1' with GCC 4.9 and the provided config fixes the build > > robot's report. > > > > Peter: Feel free to either squash this patch into the one adding > > __no_sanitize_undefined or apply on top. > > Yeah, argh! So I only saw this thread now, even though I'd already > pushed out x86/entry to tip last night due to getting: > > 301805 N + Jun 16 kernel test rob (5.8K) [peterz-queue:x86/entry] BUILD SUCCESS 8e8bb06d199a5aa7a534aa3b3fc0abbbc11ca438 > > Why that thing is claiming SUCCESS when it introduces a build error I > don't know. > Hi Peter, Sorry for the misunderstanding, some folks complained that it's too noisy when there're only new warnings in a "BUILD REGRESSION" report, so we changed to use "BUILD SUCCESS" if there's no new build error. To avoid misunderstanding, we'll change build complete report title to "BUILD SUCCESS WITH WARNING" for new warnings. Best Regards, Rong Chen