Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp41532ybg; Mon, 27 Jul 2020 22:48:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9ikBe5M2uWqIyas/vrZLFU9hxhrEef5nM8xAaeHzamZn+lags6JdjZvMWQ/3TWyTRdv3o X-Received: by 2002:a05:6402:cb:: with SMTP id i11mr11871956edu.372.1595915336342; Mon, 27 Jul 2020 22:48:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595915336; cv=none; d=google.com; s=arc-20160816; b=c6FjaO5UiohQmfFfcAegUuuh2BK57ZMVjodHRZyy+RPdppjvgqBVgPfib+kyf31kte 7PT6oLLcWXT1e4m7LRquSWf6LPi6Rx83YqqsoAizOSDGgLdBY2hWBIfkWCH0FNpy8ZGI VvNiXgkZD8Em2vzW59dez+p7bPUw4vDo5wGw8hCahoUVIJ8zZy9NX4IoiopizFu3G+Uo LjAug0vPY/Hvs+YV4iBLoeMOfLKuQioqMnR+TcThobQPv1bMP7iMe3FEZytpb+wg8LuX Gl0QDd+/+D4mytx1L3AHcxzobllHPfsiP0bwvhmU6+OWQCybe8eaWlQZmSiuURtBWVUE 82fQ== 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=jvlM9NHcsACKHHGiZRDV7tCWZy0Y4sC2TI8QRB0PPGQ=; b=YehkY+Ld6I049UKWrEZc21xwPtVL6CqgcObFA9oZsWL9vrziEeKhPSdrQG96QkNMPl RQlQZr/5LSLZdQWU1jje9m1AVum6H8tfsqFBlWaWnZ2grz5JT/t2Kht34USQ9tRpRdZa Ejr6Kb+BT1yZMJMjC3PJJ4Q4PHhEgy4dQyfUr/OfLgQmj7Fdl/szGv0tozd61KrB2vNv nhZmVuA+zBQRogeLnbFGf1bU/2D1FQuJv+y2TdUhy39XeX2Fv2RiFlg4H3sIw0pYuI6z CoVQU03k6iIudbBn2+hiKOmBHQPF9t51t8mcE3bh5cGwJsL0dIqYwXcstPSSL+1YKNJv LWpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aK6zkF40; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id i23si7182993ejj.578.2020.07.27.22.48.34; Mon, 27 Jul 2020 22:48:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aK6zkF40; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726916AbgG1FsR (ORCPT + 99 others); Tue, 28 Jul 2020 01:48:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726536AbgG1FsR (ORCPT ); Tue, 28 Jul 2020 01:48:17 -0400 Received: from mail-qk1-x743.google.com (mail-qk1-x743.google.com [IPv6:2607:f8b0:4864:20::743]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52CA3C061794; Mon, 27 Jul 2020 22:48:17 -0700 (PDT) Received: by mail-qk1-x743.google.com with SMTP id l23so17671714qkk.0; Mon, 27 Jul 2020 22:48:17 -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=jvlM9NHcsACKHHGiZRDV7tCWZy0Y4sC2TI8QRB0PPGQ=; b=aK6zkF40KDA0bO12q53pkVpFYe+e73fEmE6vPRW+8PozxmR+lF8y8CsJDalWhutE9P GaNKLckJ683mZ66OiAoz6Hvfq9keqggBbof51sgJQ3X9y2umghAIcI+ZS3bbfdGX3ZOm RSfys2J7nUIra0LaZ/mbRJAGGpSxE4Y/L2r3ti1HGsRJtDCFgtuxbeBOWDrCaYWSe6VQ 56afX33NU9PjG9KstKRHrX/X8GUXPHI4FMwiPjzAz/HtkplWT1NYoPbXI5Dtd9fh/ih4 6dpa5xP/iyTuI0TgW536j3Cf62R984vFeQhmZ2Uw2DylCostvUzuWG7Fx1bqOA1CNKOD sKWg== 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=jvlM9NHcsACKHHGiZRDV7tCWZy0Y4sC2TI8QRB0PPGQ=; b=oa9m5yVy7sy3PhhRg0Xzyxzk66Z9USkqUyPoxPebT8MTtWQS2qtGS/4ut77MmDaZFt 0HBmX/Bk9ffBIHTHTZcABKDImCuu6laD/krJLJeHaK3jVVPOcBH1nNfLMAhnXK0XvOKn h77lkW87jac/G8oAJhu0oauK0KTzG/ES5IKM1ttngkVndvJ6q+UImQulNIclDEAE97W8 4wOCx2jEn+uZppGv+Ta9vVVCqODKNO/hxKQBmhIXlyGIMIQ2myKA1xqNR1R8h/N7QHDx o7XzaN2WrHFQH0of3dpOl2ox05m/jRbmSmygUTZc2HHKo50CKNREWJ5p3zpjBqeLGJin 9MCw== X-Gm-Message-State: AOAM531kak9nE3+7lNMMW10nafEQHNNjd+NABx4xaTpuL8qMHBdmjN9/ wwJdDHZtbttN3JKuCE94jsm1QPQpvjtKM9ZJLXY= X-Received: by 2002:ae9:f002:: with SMTP id l2mr27590585qkg.437.1595915296590; Mon, 27 Jul 2020 22:48:16 -0700 (PDT) MIME-Version: 1.0 References: <20200727232346.0106c375@canb.auug.org.au> In-Reply-To: From: Andrii Nakryiko Date: Mon, 27 Jul 2020 22:48:05 -0700 Message-ID: Subject: Re: linux-next: Tree for Jul 27 (kernel/bpf/syscall.o) To: Randy Dunlap Cc: Stephen Rothwell , Linux Next Mailing List , Linux Kernel Mailing List , bpf , "netdev@vger.kernel.org" , Alexei Starovoitov , Daniel Borkmann 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 Mon, Jul 27, 2020 at 11:58 AM Randy Dunlap wrote: > > On 7/27/20 6:23 AM, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20200724: > > > > on i386: > when CONFIG_XPS is not set/enabled: > > ld: kernel/bpf/syscall.o: in function `__do_sys_bpf': > syscall.c:(.text+0x4482): undefined reference to `bpf_xdp_link_attach' > I can't repro this on x86-64 with CONFIG_XPS unset. Do you mind sharing the exact config you've used? I see that kernel/bpf/syscall.c doesn't include linux/netdevice.h directly, so something must be preventing netdevice.h to eventually get to bpf/syscall.c, but instead of guessing on the fix, I'd like to repro it first. Thanks! > > -- > ~Randy > Reported-by: Randy Dunlap