Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp648954pxb; Mon, 16 Aug 2021 14:06:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwEO5A9iN4ZJjkh5vlHXA/LK9yRZyTst7P7XCJRbXe7xjVumDfRUw8aQMk4UopRy4xH66kF X-Received: by 2002:a05:6638:521:: with SMTP id j1mr545956jar.122.1629147994892; Mon, 16 Aug 2021 14:06:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629147994; cv=none; d=google.com; s=arc-20160816; b=p9QPBkbFgafPawEfesMT7j2JPceOeXAm87+ozDjmTx/VcgsxFoDgKyzWPgsf31zWzw f1Q3IlRmjIBbaoWlmZHANNdK2K2FvI+Afh5rMUZVD6hGrfvT411vvOqVBV/kjmfD7Ulx e8Y73nOU0oMVHZOscLFXj9mFM4H6qFrUcsvMZatPtuXNfl13Dp3uIntVKmlZZ2g35btH b9o8CLQkiwBAL3PvmLaUp9sVriTiSVsMPqnkH3aX1zpsCLRz0SUAM7k61r2Ms05Elc+W PEBRdbWLyEC5YOuSwsOUqQRt9R3dNMgdlk6njXP5TqfW6zevMHI9riTX+s42FT2i7eTK 9zUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=+IndVIyKXXET69TBwrqfFN/4x1tt1sGU/DjG1tt8/+w=; b=QCdB5DyYCD0Kwgcs/8BoH+iB05jiI8DxWJGNvGh+NaUV1aBsjoATniMSmZPVMmZbrR HWKSkwcs9jaiX9MHmqmNEG/TfEHV07NyIwWsYwuBpNXKuHUfJWPuJ5etUXXzTLleO7Ci Rxcf9pp0DdswqnP1H96XgITFi+H4jC4IQx2fmv5g7O0MyvRE4mMf1tZ5VMCV8uorrfET US4imEsx1MwNt3DyBJ2ZccioXFH1/JfegrrKiYit2MdQBX8ZVE1CscFWDkgz5kpvz7HE Poz0QyNnOjgkDOna1mPFUZCM5NrFA4kZt/xtlCzK0zAZ+S3YUbtSRMuCrIwaKEplYRU1 TVuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rloCNbgv; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 13si66174jan.43.2021.08.16.14.06.23; Mon, 16 Aug 2021 14:06:34 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rloCNbgv; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233373AbhHPVF5 (ORCPT + 99 others); Mon, 16 Aug 2021 17:05:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:55966 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233299AbhHPVF4 (ORCPT ); Mon, 16 Aug 2021 17:05:56 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id CC7D560F4B; Mon, 16 Aug 2021 21:05:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629147924; bh=YECMRvuBjdXXRO58Ismj0qtg5s620EfrgfGRIaZYQzg=; h=From:To:Cc:Subject:Date:From; b=rloCNbgvPQ69kZoLQcePdQoG3caMoXN0hsOId53e/kvMIHQF8WCIlVCWSMy2YCUKi w7EgFfqCjG2wf6EiZmKBMu60nNyfNCSvigQR21vz+werufq3yark81qrJ1bIY0GPEy zct1GPAMAAiFvZhyFoFGXWU3dGTfwDMMshOz4iDcOouKnI2MlABkuEkl65CGiEPkBw JcqPjrBvVJ5591GBlxSgSfh3joTlBHV32mOJ9yHcb6X3fweXN1s0Sn6lBk79YYmnFg Mox+2hjR6DHvhIcNFjOywrVswOc7k+1daB82aJiuCi5dlM9z8pZHkJkElPhi2za955 Tdp3mtPe+Xy8A== From: Nathan Chancellor To: Shuah Khan Cc: Mathieu Desnoyers , Peter Zijlstra , "Paul E. McKenney" , Boqun Feng , Nick Desaulniers , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, clang-built-linux@googlegroups.com, Nathan Chancellor Subject: [PATCH] selftests: Use -fno-integrated-as instead of -no-integrated-as Date: Mon, 16 Aug 2021 14:04:19 -0700 Message-Id: <20210816210418.59294-1-nathan@kernel.org> X-Mailer: git-send-email 2.33.0.rc2 MIME-Version: 1.0 X-Patchwork-Bot: notify Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org -no-integrated-as is considered the legacy flag since clang 3.5 so move -fno-integrated-as in case clang ever decides to remove the legacy flag. Link: https://releases.llvm.org/3.5.0/tools/clang/docs/ReleaseNotes.html#new-compiler-flags Signed-off-by: Nathan Chancellor --- tools/testing/selftests/rseq/Makefile | 2 +- tools/testing/selftests/sched/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/rseq/Makefile b/tools/testing/selftests/rseq/Makefile index 2af9d39a9716..32f503c13c61 100644 --- a/tools/testing/selftests/rseq/Makefile +++ b/tools/testing/selftests/rseq/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0+ OR MIT ifneq ($(shell $(CC) --version 2>&1 | head -n 1 | grep clang),) -CLANG_FLAGS += -no-integrated-as +CLANG_FLAGS += -fno-integrated-as endif CFLAGS += -O2 -Wall -g -I./ -I../../../../usr/include/ -L$(OUTPUT) -Wl,-rpath=./ \ diff --git a/tools/testing/selftests/sched/Makefile b/tools/testing/selftests/sched/Makefile index 10c72f14fea9..d84a19363a62 100644 --- a/tools/testing/selftests/sched/Makefile +++ b/tools/testing/selftests/sched/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0+ ifneq ($(shell $(CC) --version 2>&1 | head -n 1 | grep clang),) -CLANG_FLAGS += -no-integrated-as +CLANG_FLAGS += -fno-integrated-as endif CFLAGS += -O2 -Wall -g -I./ -I../../../../usr/include/ -Wl,-rpath=./ \ base-commit: 7c60610d476766e128cc4284bb6349732cbd6606 -- 2.33.0.rc2