Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2572323imm; Fri, 24 Aug 2018 01:22:40 -0700 (PDT) X-Google-Smtp-Source: ANB0VdagHP6n7RPzND7EIoD42q6n2Cd5OiooRZlTBJ+gG6f85JQBxpHhiwO6oNuFQbGOSXpBCnTK X-Received: by 2002:a63:2106:: with SMTP id h6-v6mr680205pgh.161.1535098960900; Fri, 24 Aug 2018 01:22:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535098960; cv=none; d=google.com; s=arc-20160816; b=AWyubF78QQcvNENVfxvUwAB8t+8W8OfmWDS9dDPyrwudy0/M83qyArVLvPiK2uIjf4 4EZZY6nlWw1AfWR/DnQXi3tvTJw1qh0uDn3dkcFF1L4Q3XNRbmULqb1DziAhF2hdkCg+ I3dpizAibPqVKs8ONnwbb/GpENuTs8lvxUYqSWuFe6tE0qtBxU3JrS/4pc6v6cj8SUo+ IY4uvzS6Z8wvKaceYNAUfDFNYFHS8sOgeTAS3FEkH76xViensINenkGEgEWU2pqI88dY jEiQ/37Mvoq9yZjJ46tsy+KaMu7mq8uy4zPh84+TwoaDQTxnrY8alKLUvtUioALFt5q2 In/w== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature:arc-authentication-results; bh=mooSXLSuRWfy75zL3oAoGMSPk0UfC5GcZvix8GxRxTM=; b=s826DpsBCsBm9Z+U6Oc0ARuItUDF4fqIdDVBGo9zkDAU//BM7DT2cMShlmYJobBnWh 8sAMC5oM26kWXW9poTTYx0vIkzn7fjTRhs2Esjp+VA7EWYUkiKiUlFibWqgwgV4yOLRO rjUGmgVbHb90bI076TLW31ZwcVSZlMlUesTfGN/twVobrgSNtaCrTU0MENPXMHAkiyN4 9B9W0uPiL3toUG0WSLhXz5g2U4tLmIq5kLRP2cQQADhgdhDJuOiviGxoLCAfI7yCkfoi cOj69nU6z/Ehi9GAXOMqx5NG4X2icDPDYm/fkL8Udv/q5OsIX6Gi1sjDgHtmauhY2g04 6+yQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XTxdKwBi; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i1-v6si6468226pgn.212.2018.08.24.01.22.25; Fri, 24 Aug 2018 01:22:40 -0700 (PDT) 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=XTxdKwBi; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726510AbeHXLya (ORCPT + 99 others); Fri, 24 Aug 2018 07:54:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:38748 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726274AbeHXLya (ORCPT ); Fri, 24 Aug 2018 07:54:30 -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 9538F208E3; Fri, 24 Aug 2018 08:20:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1535098856; bh=1mFop6dtuRUSyheS75lrH268pLjyQreF2cGZcAP9cRg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=XTxdKwBiv9fTvQxwEggsrbxBYl5TzohG4CtYsy8UAhj+a+Cn1hwGT4/1KqzPrhrvf qwEBg5Tp/xiFUUwD6F9i3Ufyl5NBsC8Q5ynO9FbVy6TjFd6co1Rsa465tmfCyRZMsC s9ZPdU24YOiG0fR7B39Ry5GE/I+/C12arDbiFjJo= Date: Fri, 24 Aug 2018 17:20:53 +0900 From: Masami Hiramatsu To: Stephen Rothwell Cc: "Steven Rostedt (VMware)" , Linux-Next Mailing List , Linux Kernel Mailing List Subject: Re: linux-next: build warnings from the build of Linus' tree Message-Id: <20180824172053.20fa197294f51496dcec5605@kernel.org> In-Reply-To: <20180824133206.4218c2e5@canb.auug.org.au> References: <20180824133206.4218c2e5@canb.auug.org.au> 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 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: > > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_selftest_dynamic.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_kprobe_selftest.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_clock.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/ftrace.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/ring_buffer.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/ring_buffer_benchmark.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_output.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_seq.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_stat.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_printk.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/tracing_map.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_sched_switch.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_functions.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_preemptirq.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_irqsoff.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_sched_wakeup.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_hwlat.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_nop.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_stack.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_functions_graph.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/blktrace.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_events.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_export.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_syscalls.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_event_perf.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_events_filter.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_events_trigger.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_events_hist.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/bpf_trace.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_kprobe.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/power-traces.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/rpm-traces.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_kdb.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_probe.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_uprobe.o' being placed in section `.data..LPBX1' > ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_benchmark.o' being placed in section `.data..LPBX1' > > 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. Thanks, -- Masami Hiramatsu