From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 93870C433E1 for ; Tue, 14 Jul 2020 10:47:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6BF9E22203 for ; Tue, 14 Jul 2020 10:47:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="JSICWha7" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726776AbgGNKrL (ORCPT ); Tue, 14 Jul 2020 06:47:11 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:50987 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725884AbgGNKrK (ORCPT ); Tue, 14 Jul 2020 06:47:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594723629; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hFSCGa2faOc4YtJn6Usmp29e4JLiVkSJQ5USz3jN4SM=; b=JSICWha7qH9KmNP/HhUFz0HUSuOV2BJ1P+QYY7gkdLDlaZE1jeipC5kRGDK13aw9flZfOZ tpBPonYg94w/Oszw/7BKxy9hgzur8GMawbgaGfPghR423FJTYUXlp6v57Be+Hhk6axotdT wq0MuJ8DZuT67EG2JDXCknmhOBYs+YQ= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-319-QVsaaGwXMPK9qQ7Nt3uv_Q-1; Tue, 14 Jul 2020 06:47:07 -0400 X-MC-Unique: QVsaaGwXMPK9qQ7Nt3uv_Q-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C05441092; Tue, 14 Jul 2020 10:47:05 +0000 (UTC) Received: from krava (unknown [10.40.193.14]) by smtp.corp.redhat.com (Postfix) with SMTP id 5596E2E020; Tue, 14 Jul 2020 10:47:02 +0000 (UTC) Date: Tue, 14 Jul 2020 12:47:02 +0200 From: Jiri Olsa To: Stephen Rothwell Cc: Daniel Borkmann , Alexei Starovoitov , Networking , Linux Next Mailing List , Linux Kernel Mailing List , Jiri Olsa , David Miller Subject: Re: linux-next: build warning after merge of the bpf-next tree Message-ID: <20200714104702.GH183694@krava> References: <20200714121608.58962d66@canb.auug.org.au> <20200714090048.GG183694@krava> <20200714203341.4664dda3@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200714203341.4664dda3@canb.auug.org.au> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 14, 2020 at 08:33:41PM +1000, Stephen Rothwell wrote: SNIP > > diff --git a/tools/bpf/resolve_btfids/Makefile b/tools/bpf/resolve_btfids/Makefile > > index 948378ca73d4..a88cd4426398 100644 > > --- a/tools/bpf/resolve_btfids/Makefile > > +++ b/tools/bpf/resolve_btfids/Makefile > > @@ -16,6 +16,20 @@ else > > MAKEFLAGS=--no-print-directory > > endif > > > > +# always use the host compiler > > +ifneq ($(LLVM),) > > +HOSTAR ?= llvm-ar > > +HOSTCC ?= clang > > +HOSTLD ?= ld.lld > > +else > > +HOSTAR ?= ar > > +HOSTCC ?= gcc > > +HOSTLD ?= ld > > +endif > > +AR = $(HOSTAR) > > +CC = $(HOSTCC) > > +LD = $(HOSTLD) > > + > > OUTPUT ?= $(srctree)/tools/bpf/resolve_btfids/ > > > > LIBBPF_SRC := $(srctree)/tools/lib/bpf/ > > > > Thanks for the quick response. However, in the mean time the bpf-next > tree has been merged into the net-next tree, so these fixes will be > needed there ASAP. I just posted it jirka