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=-4.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,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 D9741C433F7 for ; Tue, 14 Jul 2020 09:27:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BA2F8208C3 for ; Tue, 14 Jul 2020 09:27:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727025AbgGNJ1p (ORCPT ); Tue, 14 Jul 2020 05:27:45 -0400 Received: from mail-ot1-f66.google.com ([209.85.210.66]:34690 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726928AbgGNJ1k (ORCPT ); Tue, 14 Jul 2020 05:27:40 -0400 Received: by mail-ot1-f66.google.com with SMTP id e90so12567039ote.1; Tue, 14 Jul 2020 02:27:39 -0700 (PDT) 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=BcBgAiY71PDQb9AkYuorOFzEG6DsDrsVIbYaSy+JPpU=; b=pDU7cxAc/8nVkIufip2sEC2iLfXpU+AebYUtWaIjKn0H4iq0NLO7N6MB0OcR9+kSha KY2zU8joPjZ2EKi0eYLTmo3ZeenCLr+AYFDMjL65EvmWaREKe+qhfbLeWxl17vWIVPCM tGAnMmQn39DcvDBWNMzSkKb2dGk7JbmLMU5uS8ggmlrcAYjOg7CVTGFWJRcKn2EjcpIV FJhSulPblSS14bH2a6IXyWD7TDb8BL967V7GPJeCpZUdcRSy3MnJbtkX8KAUelPDJzdZ IDZrh2UlEtFH2Fo+FwBxPZvyiti5IGgBYPDCsCHPYHRV0vb/ysm5yL6RlI7e4USxHy8i ouqA== X-Gm-Message-State: AOAM530wME3BivjMGco+shebmbV/DUUFaVg48ToLehLsX8d9EOapnRGu 86wSIXgt4oz0ZST/gAnVE1l8mK7ZsWjXQ93m7lI= X-Google-Smtp-Source: ABdhPJyrhaG/SeR+X/25sxkP2ucHSApSaY4senOI3s6UTaENULowX/uuQANaV67djcwX6YA422EQ4z2isefIpnp0WQk= X-Received: by 2002:a05:6830:1451:: with SMTP id w17mr3264761otp.250.1594718859452; Tue, 14 Jul 2020 02:27:39 -0700 (PDT) MIME-Version: 1.0 References: <20200714121608.58962d66@canb.auug.org.au> <20200714090048.GG183694@krava> In-Reply-To: <20200714090048.GG183694@krava> From: Geert Uytterhoeven Date: Tue, 14 Jul 2020 11:27:28 +0200 Message-ID: Subject: Re: linux-next: build warning after merge of the bpf-next tree To: Jiri Olsa Cc: Stephen Rothwell , Daniel Borkmann , Alexei Starovoitov , Networking , Linux Next Mailing List , Linux Kernel Mailing List , Jiri Olsa 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 Tue, Jul 14, 2020 at 11:02 AM Jiri Olsa wrote: > On Tue, Jul 14, 2020 at 12:16:08PM +1000, Stephen Rothwell wrote: > > After merging the bpf-next tree, today's linux-next build (powerpc > > ppc64_defconfig) produced this warning: > > > > ld: warning: orphan section `.BTF_ids' from `kernel/trace/bpf_trace.o' being placed in section `.BTF_ids' > > ld: warning: orphan section `.BTF_ids' from `kernel/bpf/btf.o' being placed in section `.BTF_ids' > > ld: warning: orphan section `.BTF_ids' from `kernel/bpf/stackmap.o' being placed in section `.BTF_ids' > > ld: warning: orphan section `.BTF_ids' from `net/core/filter.o' being placed in section `.BTF_ids' > > ld: warning: orphan section `.BTF_ids' from `kernel/trace/bpf_trace.o' being placed in section `.BTF_ids' > > ld: warning: orphan section `.BTF_ids' from `kernel/bpf/btf.o' being placed in section `.BTF_ids' > > ld: warning: orphan section `.BTF_ids' from `kernel/bpf/stackmap.o' being placed in section `.BTF_ids' > > ld: warning: orphan section `.BTF_ids' from `net/core/filter.o' being placed in section `.BTF_ids' > > ld: warning: orphan section `.BTF_ids' from `kernel/trace/bpf_trace.o' being placed in section `.BTF_ids' > > ld: warning: orphan section `.BTF_ids' from `kernel/bpf/btf.o' being placed in section `.BTF_ids' > > ld: warning: orphan section `.BTF_ids' from `kernel/bpf/stackmap.o' being placed in section `.BTF_ids' > > ld: warning: orphan section `.BTF_ids' from `net/core/filter.o' being placed in section `.BTF_ids' > > > > Presumably ntroduced by the merge of the resolve_btfids branch. > > missing one more #ifdef.. chage below fixes it for me, > it's squashed with the fix for the arm build, I'll post > both fixes today This one works for me, too: Tested-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds