Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2774569imj; Mon, 11 Feb 2019 08:16:02 -0800 (PST) X-Google-Smtp-Source: AHgI3IYdzdyB/2XK5dUW/Lji9JWTMetRiy4dufe5xlXKl7HkH2FLXP2+SF/Ptfrp+0uvwh7MHBFo X-Received: by 2002:a17:902:5a8d:: with SMTP id r13mr30618394pli.190.1549901762502; Mon, 11 Feb 2019 08:16:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549901762; cv=none; d=google.com; s=arc-20160816; b=JUK8N4zqt3/UV+TsBuxCSkwk2D+Y8nGwu5Ol8avmgkx9B43IBdvc6JlHUI6D0oGRCv iEw5seo286fQqXbmlF1nUv7a2yTRJ1/q4E8iH6nC/jB3GaKO1fBEEhFE/cIgiEAzwRX6 Uxu2DQXrb0O1oU1qsfE/HeZwbzxDaGaWVUu6rIcO2oBPSzmhmfhcAeWqnhiM2hr+ueHh f8rmqxmkH1yHdWH3Cjvmbekc6/R1CbgzORcbVbi/EktB4YWlY+PEV5TZMTv0PJGvEdgY 3yMWdCalsE0hSjqhdM8JSaLupxwCP33whlWJKJOgWdzW61kYTUuIavNkl4Ycphko9zMi W8iw== 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=AYXjI5puClmydihvci4QmWaqLdDaRwKzJK8LSgkpHf8=; b=nOErTjQ7Yrm5NlOmE8de3RqmG+5jYlFcUnx8ZcEaWCqvknyBovJWLSKFVnVohKTWoX B66bxCRQ1geqhttJYY/+iqTO6ynZBesHQVf8GFwGegbEOX7jWhb3npj+rt8+hX2pkRl/ 3VLdwIyfGKTTIdJwsyh10k+JkDmmEKa4ITSLC3VK1WUg6eCrHPuq8ABpvaJb/6hnmSEc bVKmHqs6mmdyIlln1NlyEICScym08ZTVjZApRbUBQ9AykuOq2Z44lDrA3sabHLfG0l2I 5fB82zm1fG57Ql9X2ldPWYtlg1gO5hnMFywEMC7XNlLfw5AO+2Dbp/rMNhfTl+Bm+Hiz qWXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rGdfbYJJ; 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 y12si9575590pgf.527.2019.02.11.08.15.44; Mon, 11 Feb 2019 08:16:02 -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=rGdfbYJJ; 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 S1728756AbfBKOWc (ORCPT + 99 others); Mon, 11 Feb 2019 09:22:32 -0500 Received: from mail.kernel.org ([198.145.29.99]:55382 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728743AbfBKOW1 (ORCPT ); Mon, 11 Feb 2019 09:22:27 -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 CCB4920844; Mon, 11 Feb 2019 14:22:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549894947; bh=EYJc5Jn3jkiS/U4G53nWwKcf96xptPSD/Hxv9YY+IdI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rGdfbYJJATFp6+rWbUOMYauSW2jGwJbp4G1w/tOf1Tjbtdvr2kepmhIriccH29cR1 IQUgSq6+iDgmN13soC3hWNLrJmF2RU5Rx2EEvjxw3dyfaYlJE1SfX9823zXiJ4A/3L 7nTzsHWri6xXiCAiF8AvCJ8v5XnNWxIMV0Cy4sfU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Nickhu , Zong Li , Greentime Hu , Sasha Levin Subject: [PATCH 4.20 014/352] nds32: Fix gcc 8.0 compiler option incompatible. Date: Mon, 11 Feb 2019 15:14:01 +0100 Message-Id: <20190211141847.307317071@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211141846.543045703@linuxfoundation.org> References: <20190211141846.543045703@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore 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.20-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit 4c3d6174e0e17599549f636ec48ddf78627a17fe ] When the kernel configs of ftrace and frame pointer options are choosed, the compiler option of kernel will incompatible. Error message: nds32le-linux-gcc: error: -pg and -fomit-frame-pointer are incompatible Signed-off-by: Nickhu Signed-off-by: Zong Li Acked-by: Greentime Hu Signed-off-by: Greentime Hu Signed-off-by: Sasha Levin --- arch/nds32/mm/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/nds32/mm/Makefile b/arch/nds32/mm/Makefile index 6b6855852223..7c5c15ad854a 100644 --- a/arch/nds32/mm/Makefile +++ b/arch/nds32/mm/Makefile @@ -4,4 +4,8 @@ obj-y := extable.o tlb.o \ obj-$(CONFIG_ALIGNMENT_TRAP) += alignment.o obj-$(CONFIG_HIGHMEM) += highmem.o -CFLAGS_proc-n13.o += -fomit-frame-pointer + +ifdef CONFIG_FUNCTION_TRACER +CFLAGS_REMOVE_proc.o = $(CC_FLAGS_FTRACE) +endif +CFLAGS_proc.o += -fomit-frame-pointer -- 2.19.1