Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp248967imm; Tue, 14 Aug 2018 18:22:46 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyGjCYQHsUoPn3OExPcxMZstfb0gfGhrE80IQ3kYVyEJYVCWaf9Xq7ywcOGAWwaCyTc9pAy X-Received: by 2002:a62:4898:: with SMTP id q24-v6mr25324329pfi.58.1534296166459; Tue, 14 Aug 2018 18:22:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534296166; cv=none; d=google.com; s=arc-20160816; b=EC7pKsKEgBZ2n6eWdcStOHm2Qz9qG4phHFddxwoiVpDO0RKEXHBse4Hz/MhW0MTtFj dVshtrev8oIeBRCA6ZoZc8ZOM+frICxJ3EOUhqR1+EPbL7Og4F69DKbPhgc3dO5t3l1C MHXXbG9uE13ONreex2zzHLeACYmVYFeLGMr069g3mgt8BOm7ISKzHBPK6JO4yLmWTkiC hmCcb5y5WmRbkRGaZqrrQgaZTJeGUVX3/Jh+M+64HD3YJcRpwIN7dmAsn4KtqH5kSZ5/ b9mqprg4kAvnblgAiVFKCIM0pv6J2tZ9qh/nv2yPoqcFXoN+wiVsBHkYDLFkDKk450Rd rh6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature :arc-authentication-results; bh=DvY/62/5zpjBIZMJS5WuY3UFtL+mNgElbQXvCkSyF9A=; b=Nqxr5SXh8xwMSzLPSHPlbUQal+mPZNjTFduKeDkDRwPuzQpC3QB1CS6VS07K8XrgUb rI9LRp4mZsda25wqoVOQaiMUk11FtaAg3H3FhPxuMZjCLSwfeVK0zj41f3T/aG7cuZEq q2xIyIYEa6IKUvO8RaHj2rMgThoYvoAILRWtmOTJ1NcEYN8q97JeYBNMRQ4ddhf4MZ/o MBzA2o5pbJbdf7/f5g9BNPb2wsvOThpvZSdnN3+1Sf1r+sc6z3oEFWwK9yQIme96mrgY hG8XEsVOUtdPxuRyjvgyDIZO0bkCxnQA/mOmIanD7gk2o3bqhJtx88DXmnovDKn72l6O YjiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=rcqVoqQ5; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 14-v6si22073680pgc.179.2018.08.14.18.22.31; Tue, 14 Aug 2018 18:22:46 -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=@google.com header.s=20161025 header.b=rcqVoqQ5; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726155AbeHOEKt (ORCPT + 99 others); Wed, 15 Aug 2018 00:10:49 -0400 Received: from mail-pl0-f51.google.com ([209.85.160.51]:32978 "EHLO mail-pl0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725831AbeHOEKs (ORCPT ); Wed, 15 Aug 2018 00:10:48 -0400 Received: by mail-pl0-f51.google.com with SMTP id b90-v6so9045689plb.0 for ; Tue, 14 Aug 2018 18:20:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=DvY/62/5zpjBIZMJS5WuY3UFtL+mNgElbQXvCkSyF9A=; b=rcqVoqQ5VcPU29qm8qqsz8ElWuRNM+i++USoA/TeWORl8GA5BhMKe0a32lDv9bT3Qv 9YpvZV1wf/vEtOJAHMJkO0Iro1Vm9ROLNVxHhwH9Z51/e09kgmHdBBUbEY13dOm2ms8y 3zRjkSstrZRu8CoMB8naHkQq0Q6BCUrug121jS7qXRJAIwYwKG+nkVZaIQ0HUZ6rvdR3 +2+Dg/ZiAtkOcxIMKbhpjGroS4kgoac1na2ESC1MMtv+OjDDXYCH/Rnm0b+JSZhOfJqP tTRqQr198TXQgChccoCxPfFFO+edeB2Lfi8IuwmbhpNz2YalIEZe1q8VoTVek1SNOoGp 9LKg== 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:subject:message-id:mime-version :content-disposition:user-agent; bh=DvY/62/5zpjBIZMJS5WuY3UFtL+mNgElbQXvCkSyF9A=; b=r15LYC7ak6i+PDjTtOpEjQ4fTsd4WPmkYml68k1gm6YuKA/UtECebTtlr5cqblJdAd zal1WUCTizfs/auld+ZTGvtiRqki8GuB4Y4h5KCEkQWcDHIK8gDmDOfry41Uzks9Ba2p 9psiLxADl8BUqMTv74B4dSBfVIuP1BGtrIOHvLT3cXdS5nHDWZl2l3B6OB6XY3+Au4Wn qHT3DSu3DeQYr+FLcO77xY1nA5FZ3IHP8JqtTmOmoOpUNVChhlLcYCeN8PM4Vz/tAfZV sYRHaF5q5o3maRnGYHFx/ixewkbJ/ECLs4EO8M88GcTmob7L9+9PIQGNzPOGcQq1PrBW A7lQ== X-Gm-Message-State: AOUpUlHdzcjBzdAWDeHTfLEG1k+SLt8LE6Gi9z8yUqMkyNNVNQ/eMoM7 oFGJ1Lz1VJexJaVoVTITHePufAanop4= X-Received: by 2002:a17:902:1121:: with SMTP id d30-v6mr11875081pla.250.1534296056933; Tue, 14 Aug 2018 18:20:56 -0700 (PDT) Received: from localhost ([2620:0:1000:1601:3aef:314f:b9ea:889f]) by smtp.gmail.com with ESMTPSA id p64-v6sm39819275pfa.47.2018.08.14.18.20.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 Aug 2018 18:20:55 -0700 (PDT) Date: Tue, 14 Aug 2018 18:20:54 -0700 From: Joel Fernandes To: linux-kernel@vger.kernel.org, wangnan0@huawei.com, netdev@vger.kernel.org, ast@kernel.org, acme@kernel.org, fengc@google.com Subject: samples don't build on v4.18 Message-ID: <20180815012054.GA70201@joelaf.mtv.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, When building BPF samples on v4.18, I get the following errors: $ cd samples/bpf/ $ make Auto-detecting system features: ... libelf: [ OFF ] ... bpf: [ OFF ] No libelf found Makefile:213: recipe for target 'elfdep' failed ----------- I bissected it down to commit 5f9380572b4bb24f60cd492b1 Author: Jakub Kicinski Date: Thu May 10 10:24:39 2018 -0700 samples: bpf: compile and link against full libbpf --------- Checking out a kernel before this commit makes the samples build. Also I do have libelf on my system. Any thoughts on this issue? thank you, - Joel