From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_PASS,T_DKIMWL_WL_HIGH autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3E2DDC433F4 for ; Sat, 25 Aug 2018 18:53:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DAB5621581 for ; Sat, 25 Aug 2018 18:53:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="wNLtiO8r" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DAB5621581 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727111AbeHYWdP (ORCPT ); Sat, 25 Aug 2018 18:33:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:48314 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726854AbeHYWdO (ORCPT ); Sat, 25 Aug 2018 18:33:14 -0400 Received: from devbox (NE2965lan1.rev.em-net.ne.jp [210.141.244.193]) (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 8309B21655; Sat, 25 Aug 2018 18:53:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1535223206; bh=8oXsNUWrmjUCN+7N9AOjJyPgeZCxrUAdBCA5QIF5GlU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=wNLtiO8rYM0XdNH1SgHK9j/9zumWbDPeXS3HoO0c8s3AEwJXSJDt0ofTtbWiAQm5l 2oR9eIDl1Dh8h9asEx/7EAgW4kbghrLQiGo3Ijhp24zNaRs2z9zdPSB2kGwhM7SN2m pjId2WJtYc5DrQXrCR5sDr7N1l25AJVWyEIH/BAY= Date: Sun, 26 Aug 2018 03:53:23 +0900 From: Masami Hiramatsu To: Arnd Bergmann Cc: Stephen Rothwell , Steven Rostedt , Linux-Next Mailing List , Linux Kernel Mailing List Subject: Re: linux-next: build warnings from the build of Linus' tree Message-Id: <20180826035323.254463c8b183e6912c5b9a13@kernel.org> In-Reply-To: References: <20180824133206.4218c2e5@canb.auug.org.au> <20180824172053.20fa197294f51496dcec5605@kernel.org> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnd, On Fri, 24 Aug 2018 14:46:16 +0200 Arnd Bergmann wrote: > On Fri, Aug 24, 2018 at 10:23 AM Masami Hiramatsu wrote: > > > > On Fri, 24 Aug 2018 13:32:06 +1000 > > Stephen Rothwell wrote: > > > > > Hi all, > > > > > > After merging the origin tree, today's linux-next build (powerpc > > > allyesconfig) produced these warnings: > > > > > > Maybe introduced by commit > > > > > > 6b7dca401cb1 ("tracing: Allow gcov profiling on only ftrace subsystem") > > > > > > I am guessing, but that is the only new thing that affects all of > > > kernel/trace ... > > > > Yes, I agree. But I just followed Documentation/dev-tools/gcov.rst > > to enable profiling in kernel/trace. Hmm, doesn't ppc64 support > > GCOV_PROFILE? (But as far as I can see, ARCH_HAS_GCOV_PROFILE_ALL > > is enabled in arch/powerpc/Kconfig) > > > > Anyway, I'll try to reproduce it. > > Thje same commit causes a link failure on ARM with a randconfig > kernel (see https://pastebin.com/KspjpyKG for the .config): OK, I confirmed that this happened with both gcc-7.3.0 and gcc-8.1.0 with your config. I also confirmed that CONFIG_GCOV_PROFILE_ALL causes same issue. (Note that CONFIG_GCOV_PROFILE_ALL depends on !CONFIG_COMPILE_TEST, so allyesconfig disables it always) Hmm, now gcov kernel itself might have a problem on arm and powerpc(on gcc-8)? Thanks, -- Masami Hiramatsu