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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id C972BC433EF for ; Thu, 14 Apr 2022 14:04:58 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 480066B0071; Thu, 14 Apr 2022 10:04:58 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 42D7B6B0073; Thu, 14 Apr 2022 10:04:58 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2F4CB6B0074; Thu, 14 Apr 2022 10:04:58 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0007.hostedemail.com [216.40.44.7]) by kanga.kvack.org (Postfix) with ESMTP id 1EFAD6B0071 for ; Thu, 14 Apr 2022 10:04:58 -0400 (EDT) Received: from smtpin28.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id C9B5018376459 for ; Thu, 14 Apr 2022 14:04:57 +0000 (UTC) X-FDA: 79355655834.28.0ADBCF5 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by imf09.hostedemail.com (Postfix) with ESMTP id AF2A714000F for ; Thu, 14 Apr 2022 14:04:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649945096; x=1681481096; h=date:from:to:cc:subject:message-id:mime-version; bh=XhPkl8wKsU/ISwmvLJNGnF+Ok/j/+/Rr9mShHkpCoZM=; b=CpDM4hFyabVI4YF6443RnVrjQHsBjBM3k5tePuxz5XxlCDlATgvx1z4D 7kMoJSV7b5C9q7NC9qb+IOn2eFS7Y0GckFysB9OeRCSrMLGTfmtmU/2PC byOkz0sswLmhhee7pyLTOXrw5eEWrXNBdkmvFuMiKkOzQIhw8AuecdKLJ ktdC/rQ47ztn9QhKfRbSzsPXiS5dJ0YObqSnl4kW8g419cQjMe/kwBZU+ a6N6AnLeWCW8P+IhnLmGI9MZoCPRCodDa8+Qr3Wq093QI2g0Z7zrVBkgo xv2vCIF/WqmSvs0nXRWEo97MOI4gHRd+q76zPUrmxXZewCxDqUAQzoC5m Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10316"; a="262379730" X-IronPort-AV: E=Sophos;i="5.90,259,1643702400"; d="scan'208";a="262379730" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Apr 2022 07:04:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,259,1643702400"; d="scan'208";a="526928618" Received: from lkp-server01.sh.intel.com (HELO 3abc53900bec) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 14 Apr 2022 07:04:54 -0700 Received: from kbuild by 3abc53900bec with local (Exim 4.95) (envelope-from ) id 1nf05d-00010x-B3; Thu, 14 Apr 2022 14:04:53 +0000 Date: Thu, 14 Apr 2022 22:04:03 +0800 From: kernel test robot To: Tianjia Zhang Cc: kbuild-all@lists.01.org, Linux Memory Management List , Herbert Xu Subject: [linux-next:master 2214/4328] sm4-neon-glue.c:undefined reference to `sm4_expandkey' Message-ID: <202204142151.5cJBAHP4-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: AF2A714000F X-Rspam-User: Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=CpDM4hFy; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf09.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.24) smtp.mailfrom=lkp@intel.com X-Stat-Signature: isqsdnjagmm4b7hkfni316pn5pxortb5 X-HE-Tag: 1649945096-182340 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: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 40354149f4d738dc3492d9998e45b3f02950369a commit: 4f1aef9b806f58ef76fdac0b4d9cfab6e66aeef1 [2214/4328] crypto: arm64/sm4 - add ARMv8 NEON implementation config: arm64-randconfig-r002-20220414 (https://download.01.org/0day-ci/archive/20220414/202204142151.5cJBAHP4-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 11.2.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=4f1aef9b806f58ef76fdac0b4d9cfab6e66aeef1 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 4f1aef9b806f58ef76fdac0b4d9cfab6e66aeef1 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): aarch64-linux-ld: Unexpected GOT/PLT entries detected! aarch64-linux-ld: Unexpected run-time procedure linkages detected! aarch64-linux-ld: kexec relocation code is too big or misaligned aarch64-linux-ld: arch/arm64/crypto/sm4-neon-glue.o: in function `sm4_setkey': >> sm4-neon-glue.c:(.text+0x190): undefined reference to `sm4_expandkey' aarch64-linux-ld: arch/arm64/crypto/sm4-neon-glue.o: in function `sm4_cbc_encrypt': >> sm4-neon-glue.c:(.text+0x268): undefined reference to `sm4_crypt_block' aarch64-linux-ld: arch/arm64/crypto/sm4-neon-glue.o: in function `sm4_cfb_decrypt': sm4-neon-glue.c:(.text+0x65c): undefined reference to `sm4_crypt_block' aarch64-linux-ld: arch/arm64/crypto/sm4-neon-glue.o: in function `sm4_cfb_encrypt': sm4-neon-glue.c:(.text+0x7f0): undefined reference to `sm4_crypt_block' >> aarch64-linux-ld: sm4-neon-glue.c:(.text+0x880): undefined reference to `sm4_crypt_block' aarch64-linux-ld: arch/arm64/crypto/sm4-neon-glue.o: in function `sm4_ctr_crypt': sm4-neon-glue.c:(.text+0xa94): undefined reference to `sm4_crypt_block' aarch64-linux-ld: arch/arm64/crypto/sm4-neon-core.o: in function `__sm4_neon_crypt_blk1_4': >> (.text+0x4): undefined reference to `crypto_sm4_sbox' aarch64-linux-ld: arch/arm64/crypto/sm4-neon-core.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `crypto_sm4_sbox' which may bind externally can not be used when making a shared object; recompile with -fPIC (.text+0x4): dangerous relocation: unsupported relocation >> aarch64-linux-ld: (.text+0x8): undefined reference to `crypto_sm4_sbox' aarch64-linux-ld: arch/arm64/crypto/sm4-neon-core.o: in function `sm4_neon_crypt_blk1_8': (.text+0x284): undefined reference to `crypto_sm4_sbox' aarch64-linux-ld: arch/arm64/crypto/sm4-neon-core.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `crypto_sm4_sbox' which may bind externally can not be used when making a shared object; recompile with -fPIC (.text+0x284): dangerous relocation: unsupported relocation aarch64-linux-ld: (.text+0x288): undefined reference to `crypto_sm4_sbox' aarch64-linux-ld: arch/arm64/crypto/sm4-neon-core.o: in function `sm4_neon_crypt_blk8': (.text+0x6e4): undefined reference to `crypto_sm4_sbox' aarch64-linux-ld: arch/arm64/crypto/sm4-neon-core.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `crypto_sm4_sbox' which may bind externally can not be used when making a shared object; recompile with -fPIC (.text+0x6e4): dangerous relocation: unsupported relocation aarch64-linux-ld: arch/arm64/crypto/sm4-neon-core.o:(.text+0x6e8): more undefined references to `crypto_sm4_sbox' follow aarch64-linux-ld: arch/arm64/crypto/sm4-neon-core.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `crypto_sm4_sbox' which may bind externally can not be used when making a shared object; recompile with -fPIC arch/arm64/crypto/sm4-neon-core.o: in function `sm4_neon_cbc_dec_blk8': (.text+0xb04): dangerous relocation: unsupported relocation aarch64-linux-ld: arch/arm64/crypto/sm4-neon-core.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `crypto_sm4_sbox' which may bind externally can not be used when making a shared object; recompile with -fPIC arch/arm64/crypto/sm4-neon-core.o: in function `sm4_neon_cfb_dec_blk8': (.text+0xf5c): dangerous relocation: unsupported relocation aarch64-linux-ld: arch/arm64/crypto/sm4-neon-core.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `crypto_sm4_sbox' which may bind externally can not be used when making a shared object; recompile with -fPIC arch/arm64/crypto/sm4-neon-core.o: in function `sm4_neon_ctr_enc_blk8': (.text+0x13b4): dangerous relocation: unsupported relocation -- 0-DAY CI Kernel Test Service https://01.org/lkp