* [linux-next:master 1891/4016] riscv64-linux-ld: bpf_jit_core.c:undefined reference to `bpf_jit_enable'
@ 2021-05-20 13:23 kernel test robot
2021-05-20 21:04 ` Daniel Borkmann
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2021-05-20 13:23 UTC (permalink / raw)
To: Daniel Borkmann
Cc: kbuild-all, Linux Memory Management List, Alexei Starovoitov
[-- Attachment #1: Type: text/plain, Size: 3079 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 7a42b92b6d30c3f09629c7d5ada9e3de2aba01af
commit: b24abcff918a5cbf44b0c982bd3477a93e8e4911 [1891/4016] bpf, kconfig: Add consolidated menu entry for bpf with core options
config: riscv-randconfig-c004-20210520 (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=b24abcff918a5cbf44b0c982bd3477a93e8e4911
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout b24abcff918a5cbf44b0c982bd3477a93e8e4911
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Note: the linux-next/master HEAD 7a42b92b6d30c3f09629c7d5ada9e3de2aba01af builds fine.
It may have been fixed somewhere.
All errors (new ones prefixed by >>):
riscv64-linux-ld: arch/riscv/net/bpf_jit_core.o: in function `bpf_int_jit_compile':
>> bpf_jit_core.c:(.text+0x13a): undefined reference to `bpf_jit_blind_constants'
>> riscv64-linux-ld: bpf_jit_core.c:(.text+0x190): undefined reference to `bpf_jit_enable'
>> riscv64-linux-ld: bpf_jit_core.c:(.text+0x1e6): undefined reference to `bpf_jit_prog_release_other'
>> riscv64-linux-ld: bpf_jit_core.c:(.text+0x20a): undefined reference to `bpf_jit_binary_free'
>> riscv64-linux-ld: bpf_jit_core.c:(.text+0x2e6): undefined reference to `bpf_jit_binary_alloc'
riscv64-linux-ld: arch/riscv/net/bpf_jit_comp64.o: in function `.L750':
>> bpf_jit_comp64.c:(.text+0x234c): undefined reference to `bpf_jit_get_func_addr'
riscv64-linux-ld: kernel/extable.o: in function `.L0 ':
extable.c:(.text+0x9c): undefined reference to `search_bpf_extables'
riscv64-linux-ld: kernel/extable.o: in function `.L31':
extable.c:(.text+0x208): undefined reference to `is_bpf_text_address'
riscv64-linux-ld: kernel/kallsyms.o: in function `.L69':
kallsyms.c:(.text+0x2e6): undefined reference to `__bpf_address_lookup'
riscv64-linux-ld: kernel/kallsyms.o: in function `.L75':
kallsyms.c:(.text+0x3d2): undefined reference to `__bpf_address_lookup'
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for LOCKDEP
Depends on DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT && (FRAME_POINTER || MIPS || PPC || S390 || MICROBLAZE || ARM || ARC || X86)
Selected by
- PROVE_LOCKING && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
- LOCK_STAT && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
- DEBUG_LOCK_ALLOC && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 21311 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [linux-next:master 1891/4016] riscv64-linux-ld: bpf_jit_core.c:undefined reference to `bpf_jit_enable'
2021-05-20 13:23 [linux-next:master 1891/4016] riscv64-linux-ld: bpf_jit_core.c:undefined reference to `bpf_jit_enable' kernel test robot
@ 2021-05-20 21:04 ` Daniel Borkmann
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Borkmann @ 2021-05-20 21:04 UTC (permalink / raw)
To: kernel test robot
Cc: kbuild-all, Linux Memory Management List, Alexei Starovoitov
On 5/20/21 3:23 PM, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head: 7a42b92b6d30c3f09629c7d5ada9e3de2aba01af
> commit: b24abcff918a5cbf44b0c982bd3477a93e8e4911 [1891/4016] bpf, kconfig: Add consolidated menu entry for bpf with core options
> config: riscv-randconfig-c004-20210520 (attached as .config)
> compiler: riscv64-linux-gcc (GCC) 9.3.0
> reproduce (this is a W=1 build):
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=b24abcff918a5cbf44b0c982bd3477a93e8e4911
> git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> git fetch --no-tags linux-next master
> git checkout b24abcff918a5cbf44b0c982bd3477a93e8e4911
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>
> Note: the linux-next/master HEAD 7a42b92b6d30c3f09629c7d5ada9e3de2aba01af builds fine.
> It may have been fixed somewhere.
>
> All errors (new ones prefixed by >>):
>
> riscv64-linux-ld: arch/riscv/net/bpf_jit_core.o: in function `bpf_int_jit_compile':
>>> bpf_jit_core.c:(.text+0x13a): undefined reference to `bpf_jit_blind_constants'
>>> riscv64-linux-ld: bpf_jit_core.c:(.text+0x190): undefined reference to `bpf_jit_enable'
>>> riscv64-linux-ld: bpf_jit_core.c:(.text+0x1e6): undefined reference to `bpf_jit_prog_release_other'
>>> riscv64-linux-ld: bpf_jit_core.c:(.text+0x20a): undefined reference to `bpf_jit_binary_free'
>>> riscv64-linux-ld: bpf_jit_core.c:(.text+0x2e6): undefined reference to `bpf_jit_binary_alloc'
> riscv64-linux-ld: arch/riscv/net/bpf_jit_comp64.o: in function `.L750':
>>> bpf_jit_comp64.c:(.text+0x234c): undefined reference to `bpf_jit_get_func_addr'
I tried on bpf tree and it seems fixed there via:
https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=c87db2405fe8e53e145e2d1e142d3b509644006b
So this might be an old report.
> riscv64-linux-ld: kernel/extable.o: in function `.L0 ':
> extable.c:(.text+0x9c): undefined reference to `search_bpf_extables'
> riscv64-linux-ld: kernel/extable.o: in function `.L31':
> extable.c:(.text+0x208): undefined reference to `is_bpf_text_address'
> riscv64-linux-ld: kernel/kallsyms.o: in function `.L69':
> kallsyms.c:(.text+0x2e6): undefined reference to `__bpf_address_lookup'
> riscv64-linux-ld: kernel/kallsyms.o: in function `.L75':
> kallsyms.c:(.text+0x3d2): undefined reference to `__bpf_address_lookup'
>
> Kconfig warnings: (for reference only)
> WARNING: unmet direct dependencies detected for LOCKDEP
> Depends on DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT && (FRAME_POINTER || MIPS || PPC || S390 || MICROBLAZE || ARM || ARC || X86)
> Selected by
> - PROVE_LOCKING && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
> - LOCK_STAT && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
> - DEBUG_LOCK_ALLOC && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-20 21:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-20 13:23 [linux-next:master 1891/4016] riscv64-linux-ld: bpf_jit_core.c:undefined reference to `bpf_jit_enable' kernel test robot
2021-05-20 21:04 ` Daniel Borkmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox