Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp302390imm; Thu, 2 Aug 2018 19:36:06 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcQoxHf5YEcDa2j7PxZPHVUYLQPl85W2gMR3Um7CnlHN4+VCTIcD/mLCh8unx4Mr/2sXdJ4 X-Received: by 2002:aa7:83cd:: with SMTP id j13-v6mr2231543pfn.236.1533263766227; Thu, 02 Aug 2018 19:36:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533263766; cv=none; d=google.com; s=arc-20160816; b=OsGweVCa3cFJhhTuN9yUMWxULl42mE0bDCaU4gr0kS4srGJDL7j5cGYL22SM1BFRTv cuPf0nIgZV/T6DOYuPUec5wTvw6xrqS/FMX8kjHOqaLqstnvUSmyVjolYPZTfjr+WBiX PXD61FHxrmZZmFYmqCuZ3EfSw6lsNewZLz+NVMqgVNdGM4XK6n4po7tutpj4XaUR4y6P wKRIn4Hu7b9q+fI/7SaHlsEEcT4rT4YNQy1SNOs/vZLRWD8mrJg4dI6z/f9CycEmeJUO oigoXT78VSerc7t4n5fRBi2W/aqKi5ZjnpUjHWcyRxmoZtshnsNSR+yGHU1Q0L2xCjYM lozQ== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature:arc-authentication-results; bh=1G4eOUfxeN8HC+zRnsJjowY8zBBS4TEHM4rRY1o88dc=; b=SmhJUcjqJrSkRqihe9i3NXH8BTsp6bIMCabu/DvPRMjhpkUrssrl8MMcV8vnWf8lGM yEd9LwrBvDrCFSP+tPRBBKXfWSEf4KSkluSc+9z5/2fE565KMqpHMSOf7EBjzIE2mVDB gvdcvfyqVk4VePJdBavEdym0ylw9MHwgg71+5CtSpwJtK7KpLBu5D0gKBjHvl8Fkz+C+ irYo++BtyGElgi7z/h0+PZUz5clRvRsL3tywSdtifKbRiBhvXyje98/L0Iu3e53pfuAj 06FKldyjqmdtkO4nzlL9y0shmj+TtVPgG3nmK69+LLITruiU5FNByVPC7uPk6QoHGZxL hLLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=NXNYzLCG; 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 i28-v6si4088001pfd.26.2018.08.02.19.35.51; Thu, 02 Aug 2018 19:36:06 -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=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=NXNYzLCG; 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 S1727250AbeHCE2Z (ORCPT + 99 others); Fri, 3 Aug 2018 00:28:25 -0400 Received: from mail-qt0-f195.google.com ([209.85.216.195]:32916 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727150AbeHCE2Z (ORCPT ); Fri, 3 Aug 2018 00:28:25 -0400 Received: by mail-qt0-f195.google.com with SMTP id c15-v6so4717428qtp.0 for ; Thu, 02 Aug 2018 19:34:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=1G4eOUfxeN8HC+zRnsJjowY8zBBS4TEHM4rRY1o88dc=; b=NXNYzLCGXyPy7apuKlaNVy0EVLpvPjjaQ7T0rp2QDyyrDEdByqXouQpiOn8Hkt+KJQ 7uhqpirFDv51mWFd0cYQKFwzHCwxJk5G+rbpSOtlcmprCantFgv994N5RDWYQ+2+QGSU LBsAhBYr6ZbEl3QInFWln4REMe2k5gQ04Es2ldZjTQ1AeV49AM/qR57WJQUtrVFam3PE dlsYCoKR2f0n/yWENg8JKlJpRXA7/Z6rKgA5QBnSofyl7DLP8qlOr7EI2S02ZkdSrp/G NNJzJ6HBhqZmc/IpWUrI1QHyPmFM+fCQg4oUbX+nYD2vyydW+XhE9X0pylTQZe8Buhkg Y3yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=1G4eOUfxeN8HC+zRnsJjowY8zBBS4TEHM4rRY1o88dc=; b=mRaiVb2qxSWLWNHloa8HwDSbmUmG7FtLLV9p7IB94JI0AGKichUE1bQvYcgwSfF7nE sSV3krmkajecp3H8v7mH57LTbXRmnESYbdsLJUPz/HWN71qzgQGDJYV/eIcg7KLRDq6b ETuZT3FBNv6/yUk3VwjBNo62Z+Dwh1IeecT1g+Buf3LHnoxJE4KHkg80FaizGrmAIlLL 8LCJlv9Nv8imJKmSHdXNXItNpTgEGoTVjbIDSyf8CnscmvscwrhNTYMnHpkcZu/VINmp nOlK3nALTM/EcCJ+tdmuhVhQLMSYFHndgChhXfAuySEdkV7hJx+HCSo7KCPCsAAjjhzZ IpvA== X-Gm-Message-State: AOUpUlGYbepmVWm/FS09BxuFKc0HdCJHLYDwp/PhWklmtePVWSRwA7tY DZC1AAfn+yASGTgGjiq3aky4ZQ== X-Received: by 2002:ac8:435c:: with SMTP id a28-v6mr2004541qtn.412.1533263663687; Thu, 02 Aug 2018 19:34:23 -0700 (PDT) Received: from cakuba.netronome.com ([66.60.152.14]) by smtp.gmail.com with ESMTPSA id o80-v6sm3692009qki.19.2018.08.02.19.34.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 02 Aug 2018 19:34:23 -0700 (PDT) Date: Thu, 2 Aug 2018 19:34:20 -0700 From: Jakub Kicinski To: Stephen Rothwell Cc: David Miller , Networking , Linux-Next Mailing List , Linux Kernel Mailing List Subject: Re: linux-next: build failure after merge of the net-next tree Message-ID: <20180802193420.340a84fe@cakuba.netronome.com> In-Reply-To: <20180803121430.25899c83@canb.auug.org.au> References: <20180803121430.25899c83@canb.auug.org.au> Organization: Netronome Systems, Ltd. 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, 3 Aug 2018 12:14:30 +1000, Stephen Rothwell wrote: > Hi all, > > After merging the net-next tree, today's linux-next build (perf) failed > like this: > > In file included from btf.c:10:0: > btf.h:25:24: error: redundant redeclaration of 'btf__type_by_id' [-Werror=redundant-decls] > const struct btf_type *btf__type_by_id(const struct btf *btf, __u32 type_id); > ^~~~~~~~~~~~~~~ > btf.h:20:24: note: previous declaration of 'btf__type_by_id' was here > const struct btf_type *btf__type_by_id(const struct btf *btf, __u32 id); > ^~~~~~~~~~~~~~~ > btf.c:405:24: error: redefinition of 'btf__type_by_id' > const struct btf_type *btf__type_by_id(const struct btf *btf, > ^~~~~~~~~~~~~~~ > btf.c:197:24: note: previous definition of 'btf__type_by_id' was here > const struct btf_type *btf__type_by_id(const struct btf *btf, __u32 type_id) > ^~~~~~~~~~~~~~~ > btf.c:40:20: error: 'btf_name_by_offset' defined but not used [-Werror=unused-function] > static const char *btf_name_by_offset(const struct btf *btf, __u32 offset) > ^~~~~~~~~~~~~~~~~~ > mv: cannot stat 'perf/.libbpf.o.tmp': No such file or directory > tools/build/Makefile.build:96: recipe for target 'perf/libbpf.o' failed > In file included from libbpf.c:52:0: > btf.h:25:24: error: redundant redeclaration of 'btf__type_by_id' [-Werror=redundant-decls] > const struct btf_type *btf__type_by_id(const struct btf *btf, __u32 type_id); > ^~~~~~~~~~~~~~~ > btf.h:20:24: note: previous declaration of 'btf__type_by_id' was here > const struct btf_type *btf__type_by_id(const struct btf *btf, __u32 id); > ^~~~~~~~~~~~~~~ > mv: cannot stat 'perf/.libbpf.o.tmp': No such file or directory > tools/build/Makefile.build:96: recipe for target 'perf/libbpf.o' failed > > Caused by commit > > 89b1698c93a9 ("Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/net") > > Some of the lines in tools/lib/bpf/btf.[ch] were duplicated (they existed > on both sides of the merge). > > I have used the net-next tree from next-20180802 for today. I just noticed that too, fix out: http://patchwork.ozlabs.org/patch/953018/