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=-10.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 DAAE2C433ED for ; Thu, 20 May 2021 21:04:27 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 3E607613AD for ; Thu, 20 May 2021 21:04:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3E607613AD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=iogearbox.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 859BB6B00E2; Thu, 20 May 2021 17:04:26 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7E2476B00E3; Thu, 20 May 2021 17:04:26 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 65C0E8D0001; Thu, 20 May 2021 17:04:26 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0035.hostedemail.com [216.40.44.35]) by kanga.kvack.org (Postfix) with ESMTP id 2E0A56B00E2 for ; Thu, 20 May 2021 17:04:26 -0400 (EDT) Received: from smtpin13.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id C298C82499A8 for ; Thu, 20 May 2021 21:04:25 +0000 (UTC) X-FDA: 78162837690.13.839A96A Received: from www62.your-server.de (www62.your-server.de [213.133.104.62]) by imf20.hostedemail.com (Postfix) with ESMTP id 00AE82C7 for ; Thu, 20 May 2021 21:04:22 +0000 (UTC) Received: from sslproxy05.your-server.de ([78.46.172.2]) by www62.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1ljpq6-0008Ke-Ae; Thu, 20 May 2021 23:04:18 +0200 Received: from [85.7.101.30] (helo=linux.home) by sslproxy05.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ljpq6-000PY4-6e; Thu, 20 May 2021 23:04:18 +0200 Subject: Re: [linux-next:master 1891/4016] riscv64-linux-ld: bpf_jit_core.c:undefined reference to `bpf_jit_enable' To: kernel test robot Cc: kbuild-all@lists.01.org, Linux Memory Management List , Alexei Starovoitov References: <202105202104.iGoWgy8R-lkp@intel.com> From: Daniel Borkmann Message-ID: <3e55e194-710d-70d8-7e5c-6c89a5eea918@iogearbox.net> Date: Thu, 20 May 2021 23:04:17 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <202105202104.iGoWgy8R-lkp@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Authenticated-Sender: daniel@iogearbox.net X-Virus-Scanned: Clear (ClamAV 0.103.2/26176/Thu May 20 13:14:29 2021) X-Rspamd-Queue-Id: 00AE82C7 Authentication-Results: imf20.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf20.hostedemail.com: domain of daniel@iogearbox.net designates 213.133.104.62 as permitted sender) smtp.mailfrom=daniel@iogearbox.net X-Rspamd-Server: rspam04 X-Stat-Signature: bokyy9q4oespjhf7wt3ttytqhoe5dbam X-HE-Tag: 1621544662-986832 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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 > > 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 >