Re: linux-next: Tree for Sep 25 [kernel/bpf/preload/bpf_preload.ko]

From: Randy Dunlap
Date: Thu Oct 15 2020 - 14:10:18 EST


On 9/25/20 9:15 AM, Randy Dunlap wrote:
> On 9/25/20 3:55 AM, Stephen Rothwell wrote:
>> Hi all,
>>
>> Changes since 20200924:
>>
>
>
> on x86_64:
>
> ERROR: modpost: "bpf_preload_ops" [kernel/bpf/preload/bpf_preload.ko] undefined!
>
> Full randconfig file is attached.
>

This build error still happens when (on today's linux-next 20201015)

CONFIG_BPF=y
# CONFIG_BPF_SYSCALL is not set
CONFIG_ARCH_WANT_DEFAULT_BPF_JIT=y
CONFIG_USERMODE_DRIVER=y
CONFIG_BPF_PRELOAD=y
CONFIG_BPF_PRELOAD_UMD=m


--
~Randy
Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>