Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4692714imm; Sun, 26 Aug 2018 01:13:22 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYti87N4zW4+nzLVchvbFOqEhMq6oszSqA2sBwxLK2perg3p0bdxfeivioT77OL1tFfZ3tG X-Received: by 2002:a17:902:8d91:: with SMTP id v17-v6mr8428635plo.9.1535271202245; Sun, 26 Aug 2018 01:13:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535271202; cv=none; d=google.com; s=arc-20160816; b=utq4Qsh0lag9+PmfE7ka3cDm5Yxbj8LoP19qvyoXYQyBdaueRdyVfvGqpvWpD2cbvu 7zvHh6e6nxDaJPKvke9kPumFgdjbtTh2GG3SLUt3enuB40Pb3a/iiWTMp+xwVz361TgP m4Pgbl0MvaRndsoxG7Bjfa1XJqHhS7E2VKwun0ztFgzTjH0H25/HAn3zY3syPoQFtb05 enoW4kEa5n6xOK2UPiWsk/wJg1O41rC0DtXhZr2QpuOPxXI2mGaFwS+nIfglcyCHoo0c XX4GUo9hc3uqldWSFiV0Ut2KMhLoWURD5T9AlbyMzCHGvQQjRUQiR36oSMoYt7uw33LT OVcg== 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=EKwcZ0yJ3HTvS17MQe8Q9Ui+LJ2LSMXXpPKYxkY5wvE=; b=PBBCSrNSTV/BGrEqk5Icupkc3+dbtmxZZdrwV35CRCXne1FaHZnfGwPZnMVLxnXBmA VQ6ebLiV0VoKrFN8VHJZUrBJN88Z4n36GNTk53FhMrONVEdeOurxAP6iBEkTmiKG8L4Q 9QWs0QhfEBaxD/w9CEh710mbNRyz9VDBVzxwKCzbhg2PZgKOOftiq2ra949O34OKKQ46 9T/3JRavHRZoW8L+eW9Jg5zayS5S5vfiCUl7mIjS7VLZ+J85yDbN31pHJWjV4+nawxb/ oKGtq04xPdCytY4MsJbjvM7KlBNdkgFpluKUEbv3xSmpwJ30QTXtcFzeAS18XNEuLoVZ qLwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=DqrJ4EEr; 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 h187-v6si12742229pfb.62.2018.08.26.01.12.52; Sun, 26 Aug 2018 01:13:22 -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=DqrJ4EEr; 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 S1726616AbeHZLwt (ORCPT + 99 others); Sun, 26 Aug 2018 07:52:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:54756 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726364AbeHZLwt (ORCPT ); Sun, 26 Aug 2018 07:52:49 -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 45B332098B; Sun, 26 Aug 2018 08:11:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1535271061; bh=bGOcOgy5SaIoQYq0A3YTWYxFDV1ahYnE7Ny/2JzwLlQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=DqrJ4EEr3l72yeHMZaCxWeSbNm2xlWkf/k/sKihDN1zLCG4jULMvf1D+4O5Z6EdAf 307mr+Bzrx2p5tPQovdSWf4NXqkGRaVANfmi/0tu9j7qRM8W7/CvlXE4nmPbeIbBHR VO25gGpYf1QhiK98rrS4AJj7uf/s2NuLJ0EPVIiU= Date: Sun, 26 Aug 2018 17:10:58 +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: <20180826171058.e07f99e6e03f7497e5a46ed3@kernel.org> In-Reply-To: <20180824224211.2934d7c0@canb.auug.org.au> References: <20180824133206.4218c2e5@canb.auug.org.au> <20180824172053.20fa197294f51496dcec5605@kernel.org> <20180824204756.e787765461975cd1e27502dc@kernel.org> <20180824224211.2934d7c0@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 Hi Stephen, On Fri, 24 Aug 2018 22:42:11 +1000 Stephen Rothwell wrote: > Hi Masami, > > On Fri, 24 Aug 2018 20:47:56 +0900 Masami Hiramatsu wrote: > > > > 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'. > > I reported those a while ago when I started using the native Debian gcc > on my Powerpc build box. > > > But it seems another warning, and I couldn't see your warnings. Could you tell me your gcc version? > > Currently, it is the Debian gcc 8.2.0, ld 2.31.1. Hmm, unfortunately, I couldn't reproduce the ".data..LPBX1" error with my gcc-8.1.0 + ld-2.30 distributed at https://cdn.kernel.org/pub/tools/crosstool/. Could you also try to enable CONFIG_GCOV_PROFILE_ALL=y and build the kernel? If it causes similar error, it should be caused by gcov support. Thank you, -- Masami Hiramatsu