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=-17.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 29D0DC4361A for ; Thu, 3 Dec 2020 15:39:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D052C20709 for ; Thu, 3 Dec 2020 15:39:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731024AbgLCPjg (ORCPT ); Thu, 3 Dec 2020 10:39:36 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:31793 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726999AbgLCPjg (ORCPT ); Thu, 3 Dec 2020 10:39:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1607009890; 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=ULBglluUyuIEOB7BNpKecY3zhEPHYVqmO8uyMCf0Hg4=; b=AckehwwVS5p2DzJgJhgxF+x0o7C2+YpyzorHY03IGRUELA8bz2+yH6CW7rsVI9D25tX0nh js2tVFqLLartIJ/BzWnky8cEALr+Z3YkzDXWALhxAdVzUsVJGXBCv8z54TlZL0wNbLMSWM mT6qcfZcDQnPzNNaLM9VATsouraocCM= 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-360-aFUfveudO9-0hbznFJ1QHw-1; Thu, 03 Dec 2020 10:38:05 -0500 X-MC-Unique: aFUfveudO9-0hbznFJ1QHw-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id ED41610054FF; Thu, 3 Dec 2020 15:38:03 +0000 (UTC) Received: from krava (unknown [10.40.195.70]) by smtp.corp.redhat.com (Postfix) with SMTP id 0E58F10013C0; Thu, 3 Dec 2020 15:38:01 +0000 (UTC) Date: Thu, 3 Dec 2020 16:38:01 +0100 From: Jiri Olsa To: Brendan Jackman Cc: bpf@vger.kernel.org, Alexei Starovoitov , Daniel Borkmann , KP Singh , Florent Revest , linux-kernel@vger.kernel.org, Jiri Olsa , Andrii Nakryiko Subject: Re: [PATCH bpf-next] bpf: Fix cold build of test_progs-no_alu32 Message-ID: <20201203153801.GA3612971@krava> References: <20201203120850.859170-1-jackmanb@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201203120850.859170-1-jackmanb@google.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 03, 2020 at 12:08:50PM +0000, Brendan Jackman wrote: > This object lives inside the trunner output dir, > i.e. tools/testing/selftests/bpf/no_alu32/btf_data.o > > At some point it gets copied into the parent directory during another > part of the build, but that doesn't happen when building > test_progs-no_alu32 from clean. looks good Acked-by: Jiri Olsa thanks, jirka > > Signed-off-by: Brendan Jackman > --- > tools/testing/selftests/bpf/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile > index 894192c319fb..371b022d932c 100644 > --- a/tools/testing/selftests/bpf/Makefile > +++ b/tools/testing/selftests/bpf/Makefile > @@ -378,7 +378,7 @@ $(OUTPUT)/$(TRUNNER_BINARY): $(TRUNNER_TEST_OBJS) \ > | $(TRUNNER_BINARY)-extras > $$(call msg,BINARY,,$$@) > $(Q)$$(CC) $$(CFLAGS) $$(filter %.a %.o,$$^) $$(LDLIBS) -o $$@ > - $(Q)$(RESOLVE_BTFIDS) --no-fail --btf btf_data.o $$@ > + $(Q)$(RESOLVE_BTFIDS) --no-fail --btf $(TRUNNER_OUTPUT)/btf_data.o $$@ > > endef > > > base-commit: 97306be45fbe7a02461c3c2a57e666cf662b1aaf > -- > 2.29.2.454.gaff20da3a2-goog >