Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1604196ybk; Thu, 14 May 2020 13:09:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAsaamD3YzM0hno/pRlTMsxlW0scLohtXlZrCShyjymorFuaBFdP47M+1N1Ixo/AcBM5o4 X-Received: by 2002:a17:906:17c1:: with SMTP id u1mr5551961eje.47.1589486977843; Thu, 14 May 2020 13:09:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589486977; cv=none; d=google.com; s=arc-20160816; b=ktoCZHXVCCEy68DyG2689fHaZBo5iv0wI4lWX7hGibE+/RzI4VYjurjortXYPdLAYT rR1NgTYr4Ypko65U1djFpjcE6dNPl46M2kwn+ogT/jgomEmaqgexTI1pZuE/T1/hFnlJ gC1xI543adc0Vk9UHcIoBm+qRL5kmt0Pw5lGcCpsm7ihIhTSkUX+T+i2fJ1cHKdetqwz NC+d9un+S5zrtj4JC5L701JwhWqrLFgXvtJMuPTZgatLonbBgBoNuQ8wvPa0wy+Kmvra V7+VRen25Mdcr1P1NuciGGp8X+3DerUKTg3OXTfy9p0A1LQVFKsHYWc8XSpTaVR4Kwue 0aJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=6KkrSjsGOVrQqPOlguAfrNoTE7xuQImXbfVmVffSvZc=; b=Q7uxSeTE13GDpuROlYzdcEIgbT/ePST8Z3HxbD/qwQB5K+5bW7fg2vRjtJf8sBlP6R mHQt+e+n7Ztuc2xp9zreiy8+PwxB1HNVLsL1x/SqbzY6RixVRyY8ritqfpYdqywWnMpQ zYkXbVosZVeB5zT3YDU9GjSeQWnSpo6y1GH0YJYDiXuF1y+V7cPOQm35T4PP0S8KX0iW LdMm713mrneTUe66OiUwk8rYmhE17RdtqewcxBAG7anlQACqwg6DnzOvBLSpr0TR3m6a /iDAoHry88t0ArjqMi7hTdPCt4KEmCtB4944zhTufbPKuvvmZZk5bpr2C05Ps2aQb3UW IqHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HRX+JUKo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z10si1640100edx.31.2020.05.14.13.09.09; Thu, 14 May 2020 13:09:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HRX+JUKo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728306AbgENTjy (ORCPT + 99 others); Thu, 14 May 2020 15:39:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727991AbgENTjy (ORCPT ); Thu, 14 May 2020 15:39:54 -0400 Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6D04C061A0C; Thu, 14 May 2020 12:39:53 -0700 (PDT) Received: by mail-lf1-x142.google.com with SMTP id 8so3682285lfp.4; Thu, 14 May 2020 12:39:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6KkrSjsGOVrQqPOlguAfrNoTE7xuQImXbfVmVffSvZc=; b=HRX+JUKoo0S14di2S6+t+MRWDg5yg0FQYE16r6I/+VXy1vwNDGOZzb+y+J4euHoSKQ +WGW7DL8flnFcnI6Pp2x7SwuC/sR1K/9EfCypsrXuEmXnLLfKcEvMCpUKZLby05SOKhv cOUd3rl2Ro9dPYQq05egEst/mZPij1nBa68WFzZg09of5jJtkxNzMKm7OtzhzKdW4vqo mGhWW2rDNaZEWc6YxG4Y0/kqQa++VkvuAwsebMkOtCsrTLkYCaVYtTfKZtyuthGAl+YZ aq4vYOdxkyNtU80uiEH/teAV24yS6Uu97dBfg7loIwHs3kRM5uB10r1zD+ExlSeyZtMA xPMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6KkrSjsGOVrQqPOlguAfrNoTE7xuQImXbfVmVffSvZc=; b=TyJ2WdJi2aB/i0z9Gw1zaLlpXuAeL16RHPDtBinj0aL/7U3VtvaIsIFqoV/fpcqGKh 89vwjR5FKbFugHWy0wdgUPcjzqbmpe6SPzlEu8jD8JIFLqaGlQ9tyHNFopYFhn5J7uzB HDXVQP3bgYGyEmsNwO6P4yyY4V9lsq7/n3nbLith87gNIJ9S7rF5VuKYEdkYJPmERQMz eSgwIFxYsxoPDbqMyQE/qNwGSUfBkNnXAmi6cuLBXcMHExjP4dSZeOYy6s1Jtz6/kL89 zA9D1TynIZnkMJ1LO4IKC/oLRrwp/9xyP3Yxc8nlAwvPqKuxMLwl6Nvd6LrA/CpKcUOd TWNg== X-Gm-Message-State: AOAM532Vx6l4ZLS7yxWdBWgNAd+lsOV0IiAZM0mpeOlqO5813HWjxOgf qYyz6jgQAjtJvoAtFDgOg5Advk0D5S7w/GBEYjU= X-Received: by 2002:a19:505c:: with SMTP id z28mr4376744lfj.174.1589485192109; Thu, 14 May 2020 12:39:52 -0700 (PDT) MIME-Version: 1.0 References: <20200511113234.80722-1-mcroce@redhat.com> <0dd7c40b-c80b-9149-f022-d8113b77558a@fb.com> In-Reply-To: <0dd7c40b-c80b-9149-f022-d8113b77558a@fb.com> From: Alexei Starovoitov Date: Thu, 14 May 2020 12:39:38 -0700 Message-ID: Subject: Re: [PATCH bpf] samples: bpf: fix build error To: Yonghong Song Cc: Matteo Croce , bpf , Network Development , LKML , Alexei Starovoitov , Joe Stringer , Jakub Kicinski Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 11, 2020 at 1:32 PM Yonghong Song wrote: > > > > On 5/11/20 4:32 AM, Matteo Croce wrote: > > GCC 10 is very strict about symbol clash, and lwt_len_hist_user contains > > a symbol which clashes with libbpf: > > > > /usr/bin/ld: samples/bpf/lwt_len_hist_user.o:(.bss+0x0): multiple definition of `bpf_log_buf'; samples/bpf/bpf_load.o:(.bss+0x8c0): first defined here > > collect2: error: ld returned 1 exit status > > > > bpf_log_buf here seems to be a leftover, so removing it. > > > > Signed-off-by: Matteo Croce > > Acked-by: Yonghong Song Applied to bpf tree. Thanks