Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7DF08C433FE for ; Fri, 3 Dec 2021 19:55:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353667AbhLCT7A (ORCPT ); Fri, 3 Dec 2021 14:59:00 -0500 Received: from mga01.intel.com ([192.55.52.88]:11438 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242274AbhLCT67 (ORCPT ); Fri, 3 Dec 2021 14:58:59 -0500 X-IronPort-AV: E=McAfee;i="6200,9189,10187"; a="261057875" X-IronPort-AV: E=Sophos;i="5.87,284,1631602800"; d="scan'208";a="261057875" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2021 11:55:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,284,1631602800"; d="scan'208";a="541730881" Received: from irvmail001.ir.intel.com ([10.43.11.63]) by orsmga001.jf.intel.com with ESMTP; 03 Dec 2021 11:55:31 -0800 Received: from newjersey.igk.intel.com (newjersey.igk.intel.com [10.102.20.203]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id 1B3JtUVL022961; Fri, 3 Dec 2021 19:55:30 GMT From: Alexander Lobakin To: Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko Cc: Alexander Lobakin , =?UTF-8?q?Toke=20H=C3=B8iland-J=C3=B8rgensen?= , Kumar Kartikeya Dwivedi , John Fastabend , Jesper Dangaard Brouer , Nathan Chancellor , Nick Desaulniers , netdev@vger.kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: [PATCH bpf 0/2] samples: bpf: fix build issues with Clang/LLVM Date: Fri, 3 Dec 2021 20:50:02 +0100 Message-Id: <20211203195004.5803-1-alexandr.lobakin@intel.com> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Samples, at least XDP ones, can be built only with the compiler used to build the kernel itself. However, XDP sample infra introduced in Aug'21 was probably tested with GCC/Binutils only as it's not really compilable for now with Clang/LLVM. These two are trivial fixes addressing this. Alexander Lobakin (2): samples: bpf: fix xdp_sample_user.o linking with Clang samples: bpf: fix 'unknown warning group' build warning on Clang samples/bpf/Makefile | 5 +++++ samples/bpf/Makefile.target | 2 +- samples/bpf/xdp_sample_user.h | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) -- 2.33.1