Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2747912imm; Fri, 24 Aug 2018 04:49:21 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaQu7TsLJ+mhwuBN0h1lCeNvFoFfwDRCfQyawQTRAaHQVxOPShLmminCSayy72amTZhCYh1 X-Received: by 2002:a17:902:900a:: with SMTP id a10-v6mr1369456plp.143.1535111361121; Fri, 24 Aug 2018 04:49:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535111361; cv=none; d=google.com; s=arc-20160816; b=ODpl5BaMS96u3s2O1ECYXyQzObjlzFzIT5zlDwthqZ9dQFAE3RHE8WOIOCKL/sHTRj +r8eqxw8swTkkNs85Zpg77zhRkb7CDEoUZqfRPnLvKdf9WF6z36Wnqxas1YarCGkLVm6 8Ey8+C+LZTx1BwWDiGXpTnSs0zDT18/aIYWwF5cAGmF8jtXZ+Ay6qmo5sEsDaz0LYBZs +lGr2DoxuEvIynMqfCZfneyp7uMJZfIIOSrWEWLQyQ/l9hb8kJaCLti+X4/cY4AbMAkY GYumlfuTvituQUPVjGU+rgp5yKqpHuUKr70/klu96CfC16oIrrR3k8AUmGrcvT6PZ3To DZbA== 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=7kj+HLqweVB1O3n8HoW5ZDLuk0/arWfJMCIwHvdYGOo=; b=raLIoayoZuhluLGtjGx04HsfTKfnBb/WCXtTCBm2rbrhA5aNBISNcZz4smwjr9SLfV PqXfciCYeEJO3LIixpc0CN2q/VR3A6isR3e3npW8usj1S186j+QWrlODvE5rctoDBf7Y PS2hKjmYqsDHOYbEqiuZcgXebHvIrs5VIUFfsUo8B/s7SZkA0IqLZAXT2zvGqY4kZHJy 2MtkBPR9q0dKqGBiSRAA+55I5uNR2ltvr7qO92JMdZlVJr0a6sXMofvjzhqkpsg6bmv7 jj+grfdNJeZaQOyuea83XXUU7lzdSAB+ng+V53LmOEy1Zi35KGb9UjlXaLTxI8/eEKGH R2zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bYVYvuEQ; 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 w5-v6si5973132plz.175.2018.08.24.04.49.05; Fri, 24 Aug 2018 04:49:21 -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=bYVYvuEQ; 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 S1727331AbeHXPWS (ORCPT + 99 others); Fri, 24 Aug 2018 11:22:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:50574 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726513AbeHXPWS (ORCPT ); Fri, 24 Aug 2018 11:22:18 -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 1A79120880; Fri, 24 Aug 2018 11:47:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1535111279; bh=+bpiNW5ZK6tqU+ofTUHm1Lv9gmY9NeMuvaNoHf3mqpM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=bYVYvuEQOzTaCeZeZCBnM0XU4lJH3hksoT9JxsHaVGB0uHNGDhsMcmUbKTZ/RasXR yhzZX0Vi2W+1lbhPEIccPki0GavMVhqioKW7Sq8h5EVWOOPpzHf2X4xf3Upbnh4oTL w2CLAaxKvyyJborF8laWjKauAUELsJknuCOE7zLQ= Date: Fri, 24 Aug 2018 20:47:56 +0900 From: Masami Hiramatsu To: Masami Hiramatsu Cc: Stephen Rothwell , "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: <20180824204756.e787765461975cd1e27502dc@kernel.org> In-Reply-To: <20180824172053.20fa197294f51496dcec5605@kernel.org> 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 On Fri, 24 Aug 2018 17:20:53 +0900 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: > > > > 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. gcc-7.3.0 cross build ld shows below warnings. MODPOST vmlinux.o /opt/gcc-7.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash'. KSYM .tmp_kallsyms1.o /opt/gcc-7.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash'. KSYM .tmp_kallsyms2.o /opt/gcc-7.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash'. KSYM .tmp_kallsyms3.o LD vmlinux /opt/gcc-7.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash'. But it seems another warning, and I couldn't see your warnings. Could you tell me your gcc version? Thank you, -- Masami Hiramatsu