Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1611452ybp; Wed, 9 Oct 2019 17:27:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqwOosU2z3xCJjZIOVCfPAY5pA4mhkP7Su2sKe+OQdTMc2qSctZDS+J3xhBrz6SeQTGYHeb9 X-Received: by 2002:a17:906:792:: with SMTP id l18mr5302700ejc.170.1570667239178; Wed, 09 Oct 2019 17:27:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570667239; cv=none; d=google.com; s=arc-20160816; b=EdoAOGzjmNzB5Lo1XARB4zG7hNJGHG5FVhygm+owcXUGa8kvuIq7rcfDIOxg1LXyzv blozby4kQsY8GAw9yD7SeqS2+SfZtoFnZD8pyCBA6SIal4EUcvLU5qlzP2lhB+flEKsx eaKQVhHkVNyBJJPIxCShQ+GhmApDJ+zmrxNlREHw9+4RYaVgD6EYXEXzWTsgM52t5X8t W9maau1W+2GEZ+rKxaxxtBcEdIX6upzXEV8TWz4I7IWHEGm8/uzUP/zDSHACp/i9XwzQ YHjpWjaKu7eUYQDS0i45inXQ34jJTyhvmlbNluD8RvFFVwPFd1l7/47QUU+IWMraKheq JZkQ== 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=hJVRzApWUSHgdNBRH3SUZ0/qd5E2CCfr2UoORKNjRa8=; b=fbaKk+ycEVyVHIK2HCkwS0JHRebgwvB/aeVC1DBI0CHOvcJQYr+9On/IuQG0/Q41iA ruNaf78FHTvPxWD73zqUQzvc+4GjIMb3KpTUefTWv6Uh7XtI6iRm0oW2AeBh4HADUGxC 3WGv8z/WUJx0amHzWME3mj0uvW/3kv6gArRzK6azKFVK2WRppHh8NfL150lasH1n4M7m 2TAl8n/LlRRxe1NAJnaqLDQFgo3WFMtc1O+0E3dLdEc4G6B59JH+MpLZ6IwdWCtG97Qe 8wQwVcdoVfUk53PvmvKBnKce9faZJty3KQR4fx4ZeO7KrojqB8z5JBgiilwMfb+qnjDV M7dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=N5DYis7u; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id sd13si2052316ejb.256.2019.10.09.17.26.55; Wed, 09 Oct 2019 17:27:19 -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=@gmail.com header.s=20161025 header.b=N5DYis7u; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732252AbfJJA0t (ORCPT + 99 others); Wed, 9 Oct 2019 20:26:49 -0400 Received: from mail-qk1-f196.google.com ([209.85.222.196]:36609 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731542AbfJJA0s (ORCPT ); Wed, 9 Oct 2019 20:26:48 -0400 Received: by mail-qk1-f196.google.com with SMTP id y189so3999685qkc.3; Wed, 09 Oct 2019 17:26:48 -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=hJVRzApWUSHgdNBRH3SUZ0/qd5E2CCfr2UoORKNjRa8=; b=N5DYis7uPKipl0cDXvFbCowOIVqJOHtHkPbbgeuPBKtiej1Ij51lQaKh+Gy7hRp2ra EIu8aTLliFZcetEYjur8WYm1n75nqJ+Hy0/aSL4snbMcyzqEHLslTZ1taRJpxDOwmkdh mka1E6M9BOtuGsHqgOWKYdcDpMXT80IiOMMgWxIYOug1zlnw9yW5u0k8Vrfz4TJ3sNab oKPjjN2sdBqYWw343JKpsqRR6YyU/3ZfYMwUcA4RPkQHbj0SBF1iMh0lheHJDnslaoS3 bqWRJozkJtU4I5P/Iw1sf4VOSXmJDL5v9G7oF2TFPU14AxdJN85h3fC8fJ3uRil6Md4m ZbLw== 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=hJVRzApWUSHgdNBRH3SUZ0/qd5E2CCfr2UoORKNjRa8=; b=XiHDSMs/+PN+fnWYOnhnHO4skVy86hFrdKUUc5PJ7LudhcmuJFRq9tJUPUEHyfWN1D D+yalBfFTa7HMPzDuo/vMfnZh7xe7dW7botD4ovvx9HLJukrgRnjXKNRt/9Sd40BUhl1 P+bHPILgWscu8LOzGNTF3TmZ3VJpaWhfar7lzq70mw1kSe3DFh33BFDWhWxm9VcXDbvh fB70PX6CPD9Jyal3jU++0KMnN4/dtz1OSb2aqzlspZhaMenYoWeIbcrtbyN8WZRDOjs3 8l7snMwuPkC/RLj8/UnzDdJM7BLrWvKNOxrbexAhAvsU0dwno975ypUXM7WofjrWNpQr KKyw== X-Gm-Message-State: APjAAAV6rkDNwRRkYxxs2QnB/BagKLrSOt+yVspQ3jPG6BgRi1cfnw2X 90jUl0Tw3TFezuzv0sk/mPPx3KCwf7jDp5eAFU0= X-Received: by 2002:a37:4c13:: with SMTP id z19mr6820886qka.449.1570667207415; Wed, 09 Oct 2019 17:26:47 -0700 (PDT) MIME-Version: 1.0 References: <20191009204134.26960-1-ivan.khoronzhuk@linaro.org> <20191009204134.26960-12-ivan.khoronzhuk@linaro.org> In-Reply-To: <20191009204134.26960-12-ivan.khoronzhuk@linaro.org> From: Andrii Nakryiko Date: Wed, 9 Oct 2019 17:26:36 -0700 Message-ID: Subject: Re: [PATCH v4 bpf-next 11/15] libbpf: don't use cxx to test_libpf target To: Ivan Khoronzhuk Cc: Alexei Starovoitov , Daniel Borkmann , Yonghong Song , "David S. Miller" , Jakub Kicinski , Jesper Dangaard Brouer , john fastabend , open list , Networking , bpf , clang-built-linux@googlegroups.com, ilias.apalodimas@linaro.org, sergei.shtylyov@cogentembedded.com 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 Wed, Oct 9, 2019 at 1:43 PM Ivan Khoronzhuk wrote: > > No need to use C++ for test_libbpf target when libbpf is on C and it > can be tested with C, after this change the CXXFLAGS in makefiles can > be avoided, at least in bpf samples, when sysroot is used, passing > same C/LDFLAGS as for lib. > > Add "return 0" in test_libbpf to void warn, but also remove spaces at > start of the lines to keep same style and avoid warns while apply. > > Signed-off-by: Ivan Khoronzhuk > --- Thanks for the clean up! Acked-by: Andrii Nakryiko [...]