Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5608312imu; Mon, 26 Nov 2018 02:57:08 -0800 (PST) X-Google-Smtp-Source: AFSGD/Ud8XvKPFzxMcToLzDxvH/9/PoRkKh/AjfUEAOQ/bn62gq6DYzr0MqpYsN7rxzn+2L2A37/ X-Received: by 2002:a17:902:824:: with SMTP id 33-v6mr27775262plk.107.1543229828654; Mon, 26 Nov 2018 02:57:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543229828; cv=none; d=google.com; s=arc-20160816; b=EGt/x7RQAx5/cQRNsu8YkRmC0zkkXecK9DfuW01HL+rwS4Wd03ipa/4SyLj87/vZgB d+RzDVzR2ZwGzbKa3WTcTajhRtZn5kvqFdBGp79zkqxxTUdIcCq7DbnibAXyDuD0Bzhj GdVvSzFBaw9LAV4v9IXUuwCg9JlGLRaapHjeytI+zeU4C/GHz46lPWWipMRtG3GcwBWq AkPMGGU+c6GWyQcRNAJcVqN9tKJLJBAWS6CXtRYyMj/QTdtivKiIzQMD4VgnRtrLmqDo jS9xevI72wC8cx0mH5A7lvl1UsxrCH1vmHf5qzvh5J4VbWkkOVdbq3d516aandljFtbX Iqyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Iz2vHPE1fZSxjVglvSHriD3XWJCNWSJC3yDE57xWa74=; b=iMMUfVYzVmS6QgqIuqJAMxRpPpeowiJKokdGOQxEjZCeNpVTXudDtm/TX/9eGNq5k/ OPGLavftEFlZ2sVIBtuN9I3uiv8lDPqdsNkREMEQOBEmB8RUWg9LujiX2IWL0osuB0SD +4FDa4EsuMMXNA1ztWquQFpP/PIVpvrZWiXCJBDTCUesbHI4fVn9+Bksou31lYOt5EKg SQiliyCxOmRuIuzO0eziS0PyLZsCrKVuDI7NtD0XienrkCQA47GWK+8pT0u5XFzIf4oK F7ooowxANjGuuSeP5utV+6lH37lMqb9fRPd3nSW1HTwNpKR/MuRHr13pQHL+Zv8ks80Z k82A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=CardRxp0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a5-v6si60999400plh.157.2018.11.26.02.56.53; Mon, 26 Nov 2018 02:57:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=CardRxp0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727471AbeKZVsN (ORCPT + 99 others); Mon, 26 Nov 2018 16:48:13 -0500 Received: from mail.kernel.org ([198.145.29.99]:56642 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727457AbeKZVsN (ORCPT ); Mon, 26 Nov 2018 16:48:13 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 89E0E2089F; Mon, 26 Nov 2018 10:54:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543229669; bh=TcZUJ3qJ746Vszrr+P3Y6ou2WvCokzJlY/PUn6Y/NUo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CardRxp0ITJWnLqF0vtBDLqud/Q2wdCi/YTMBx26q7pmxkp1BQZ4Fbn770lSWKsSu d2xgs8X3IJGwyVsIeLaw5AoZhyPGojIT8YTWvtFnScbSUtM1+BmOeB8N7MpMDGOjBO iZ4G9DgoAm6/IxYT+3yHf/JOTMlAzN1x1VsVSZcE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Stefan Agner , Masahiro Yamada , Nathan Chancellor Subject: [PATCH 4.4 26/70] kbuild: set no-integrated-as before incl. arch Makefile Date: Mon, 26 Nov 2018 11:50:41 +0100 Message-Id: <20181126105049.322985900@linuxfoundation.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181126105046.722096341@linuxfoundation.org> References: <20181126105046.722096341@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Stefan Agner commit 0f0e8de334c54c38818a4a5390a39aa09deff5bf upstream. In order to make sure compiler flag detection for ARM works correctly the no-integrated-as flags need to be set before including the arch specific Makefile. Fixes: cfe17c9bbe6a ("kbuild: move cc-option and cc-disable-warning after incl. arch Makefile") Signed-off-by: Stefan Agner Signed-off-by: Masahiro Yamada [nc: Adjust context] Signed-off-by: Nathan Chancellor Signed-off-by: Greg Kroah-Hartman --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/Makefile +++ b/Makefile @@ -617,6 +617,8 @@ CLANG_GCC_TC := --gcc-toolchain=$(GCC_TO endif KBUILD_CFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC) KBUILD_AFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC) +KBUILD_CFLAGS += $(call cc-option, -no-integrated-as) +KBUILD_AFLAGS += $(call cc-option, -no-integrated-as) endif # The arch Makefile can set ARCH_{CPP,A,C}FLAGS to override the default @@ -716,8 +718,6 @@ KBUILD_CFLAGS += $(call cc-disable-warni # See modpost pattern 2 KBUILD_CFLAGS += $(call cc-option, -mno-global-merge,) KBUILD_CFLAGS += $(call cc-option, -fcatch-undefined-behavior) -KBUILD_CFLAGS += $(call cc-option, -no-integrated-as) -KBUILD_AFLAGS += $(call cc-option, -no-integrated-as) else # These warnings generated too much noise in a regular build.