All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Dhaval Shah <dhaval.r.shah@amd.com>
Cc: oe-kbuild-all@lists.linux.dev,
	linux-arm-kernel@lists.infradead.org,
	Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Subject: [xilinx-xlnx:master 13338/14520] algif_aead.c:undefined reference to `af_alg_pull_tsgl'
Date: Thu, 13 Apr 2023 02:37:43 +0800	[thread overview]
Message-ID: <202304130250.xsGCeZP0-lkp@intel.com> (raw)

Hi Dhaval,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree:   https://github.com/Xilinx/linux-xlnx master
head:   3a2a9dcee70777a85b3952269c47e6eb65779b78
commit: b5823a600d05ca886cfea66e926d74f1c143484f [13338/14520] crypto: xilinx: select AES GCM fallback and userspace kernel config
config: arm-randconfig-r032-20230410 (https://download.01.org/0day-ci/archive/20230413/202304130250.xsGCeZP0-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 12.1.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://github.com/Xilinx/linux-xlnx/commit/b5823a600d05ca886cfea66e926d74f1c143484f
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-xlnx master
        git checkout b5823a600d05ca886cfea66e926d74f1c143484f
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304130250.xsGCeZP0-lkp@intel.com/

All errors (new ones prefixed by >>):

   arm-linux-gnueabi-ld: crypto/algif_aead.o: in function `aead_sock_destruct':
>> algif_aead.c:(.text+0xa2): undefined reference to `af_alg_pull_tsgl'
>> arm-linux-gnueabi-ld: algif_aead.c:(.text+0xac): undefined reference to `sock_kzfree_s'
>> arm-linux-gnueabi-ld: algif_aead.c:(.text+0xb6): undefined reference to `sock_kfree_s'
   arm-linux-gnueabi-ld: crypto/algif_aead.o: in function `aead_accept_parent_nokey':
>> algif_aead.c:(.text+0xd8): undefined reference to `sock_kmalloc'
>> arm-linux-gnueabi-ld: algif_aead.c:(.text+0xf2): undefined reference to `sock_kmalloc'
   arm-linux-gnueabi-ld: algif_aead.c:(.text+0x100): undefined reference to `sock_kfree_s'
   arm-linux-gnueabi-ld: crypto/algif_aead.o: in function `_aead_recvmsg.constprop.0':
>> algif_aead.c:(.text+0x234): undefined reference to `af_alg_wait_for_data'
>> arm-linux-gnueabi-ld: algif_aead.c:(.text+0x26c): undefined reference to `af_alg_alloc_areq'
>> arm-linux-gnueabi-ld: algif_aead.c:(.text+0x294): undefined reference to `af_alg_get_rsgl'
>> arm-linux-gnueabi-ld: algif_aead.c:(.text+0x29e): undefined reference to `af_alg_free_resources'
   arm-linux-gnueabi-ld: algif_aead.c:(.text+0x2ba): undefined reference to `af_alg_free_resources'
>> arm-linux-gnueabi-ld: algif_aead.c:(.text+0x32a): undefined reference to `af_alg_pull_tsgl'
>> arm-linux-gnueabi-ld: algif_aead.c:(.text+0x3e2): undefined reference to `sk_free'
   arm-linux-gnueabi-ld: algif_aead.c:(.text+0x3e8): undefined reference to `af_alg_free_resources'
   arm-linux-gnueabi-ld: algif_aead.c:(.text+0x3f6): undefined reference to `af_alg_free_resources'
>> arm-linux-gnueabi-ld: algif_aead.c:(.text+0x422): undefined reference to `af_alg_count_tsgl'
   arm-linux-gnueabi-ld: algif_aead.c:(.text+0x440): undefined reference to `sock_kmalloc'
   arm-linux-gnueabi-ld: algif_aead.c:(.text+0x44c): undefined reference to `af_alg_free_resources'
   arm-linux-gnueabi-ld: algif_aead.c:(.text+0x468): undefined reference to `af_alg_pull_tsgl'
>> arm-linux-gnueabi-ld: algif_aead.c:(.text+0x4bc): undefined reference to `af_alg_async_cb'
   arm-linux-gnueabi-ld: crypto/algif_aead.o: in function `aead_recvmsg':
>> algif_aead.c:(.text+0x548): undefined reference to `lock_sock_nested'
>> arm-linux-gnueabi-ld: algif_aead.c:(.text+0x578): undefined reference to `af_alg_wmem_wakeup'
>> arm-linux-gnueabi-ld: algif_aead.c:(.text+0x57e): undefined reference to `release_sock'
   arm-linux-gnueabi-ld: crypto/algif_aead.o: in function `aead_check_key':
   algif_aead.c:(.text+0x5b0): undefined reference to `lock_sock_nested'
>> arm-linux-gnueabi-ld: algif_aead.c:(.text+0x5c6): undefined reference to `lock_sock_nested'
   arm-linux-gnueabi-ld: algif_aead.c:(.text+0x5f4): undefined reference to `release_sock'
   arm-linux-gnueabi-ld: algif_aead.c:(.text+0x5fa): undefined reference to `release_sock'
   arm-linux-gnueabi-ld: crypto/algif_aead.o: in function `aead_sendmsg':
>> algif_aead.c:(.text+0x7a): undefined reference to `af_alg_sendmsg'
   arm-linux-gnueabi-ld: crypto/algif_aead.o: in function `aead_sock_destruct':
>> algif_aead.c:(.text+0xc0): undefined reference to `af_alg_release_parent'
   arm-linux-gnueabi-ld: crypto/algif_aead.o: in function `aead_sendpage_nokey':
>> algif_aead.c:(.text+0x62e): undefined reference to `af_alg_sendpage'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x8): undefined reference to `af_alg_release'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0xc): undefined reference to `sock_no_bind'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x10): undefined reference to `sock_no_connect'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x14): undefined reference to `sock_no_socketpair'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x18): undefined reference to `sock_no_accept'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x1c): undefined reference to `sock_no_getname'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x20): undefined reference to `af_alg_poll'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x24): undefined reference to `sock_no_ioctl'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x2c): undefined reference to `sock_no_listen'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x30): undefined reference to `sock_no_shutdown'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x48): undefined reference to `sock_no_mmap'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x74): undefined reference to `af_alg_release'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x78): undefined reference to `sock_no_bind'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x7c): undefined reference to `sock_no_connect'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x80): undefined reference to `sock_no_socketpair'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x84): undefined reference to `sock_no_accept'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x88): undefined reference to `sock_no_getname'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x8c): undefined reference to `af_alg_poll'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x90): undefined reference to `sock_no_ioctl'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x98): undefined reference to `sock_no_listen'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x9c): undefined reference to `sock_no_shutdown'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0xb4): undefined reference to `sock_no_mmap'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0xb8): undefined reference to `af_alg_sendpage'
   arm-linux-gnueabi-ld: crypto/algif_aead.o: in function `algif_aead_exit':
   algif_aead.c:(.exit.text+0x4): undefined reference to `af_alg_unregister_type'
   arm-linux-gnueabi-ld: crypto/algif_aead.o: in function `algif_aead_init':
   algif_aead.c:(.init.text+0x2): undefined reference to `af_alg_register_type'

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for CRYPTO_USER_API_AEAD
   Depends on [n]: CRYPTO [=y] && NET [=n]
   Selected by [y]:
   - CRYPTO_DEV_ZYNQMP_AES [=y] && CRYPTO [=y] && CRYPTO_HW [=y] && (ZYNQMP_FIRMWARE [=n] || COMPILE_TEST [=y])

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Dhaval Shah <dhaval.r.shah@amd.com>
Cc: oe-kbuild-all@lists.linux.dev,
	linux-arm-kernel@lists.infradead.org,
	Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Subject: [xilinx-xlnx:master 13338/14520] algif_aead.c:undefined reference to `af_alg_pull_tsgl'
Date: Thu, 13 Apr 2023 02:37:43 +0800	[thread overview]
Message-ID: <202304130250.xsGCeZP0-lkp@intel.com> (raw)

Hi Dhaval,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree:   https://github.com/Xilinx/linux-xlnx master
head:   3a2a9dcee70777a85b3952269c47e6eb65779b78
commit: b5823a600d05ca886cfea66e926d74f1c143484f [13338/14520] crypto: xilinx: select AES GCM fallback and userspace kernel config
config: arm-randconfig-r032-20230410 (https://download.01.org/0day-ci/archive/20230413/202304130250.xsGCeZP0-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 12.1.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://github.com/Xilinx/linux-xlnx/commit/b5823a600d05ca886cfea66e926d74f1c143484f
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-xlnx master
        git checkout b5823a600d05ca886cfea66e926d74f1c143484f
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304130250.xsGCeZP0-lkp@intel.com/

All errors (new ones prefixed by >>):

   arm-linux-gnueabi-ld: crypto/algif_aead.o: in function `aead_sock_destruct':
>> algif_aead.c:(.text+0xa2): undefined reference to `af_alg_pull_tsgl'
>> arm-linux-gnueabi-ld: algif_aead.c:(.text+0xac): undefined reference to `sock_kzfree_s'
>> arm-linux-gnueabi-ld: algif_aead.c:(.text+0xb6): undefined reference to `sock_kfree_s'
   arm-linux-gnueabi-ld: crypto/algif_aead.o: in function `aead_accept_parent_nokey':
>> algif_aead.c:(.text+0xd8): undefined reference to `sock_kmalloc'
>> arm-linux-gnueabi-ld: algif_aead.c:(.text+0xf2): undefined reference to `sock_kmalloc'
   arm-linux-gnueabi-ld: algif_aead.c:(.text+0x100): undefined reference to `sock_kfree_s'
   arm-linux-gnueabi-ld: crypto/algif_aead.o: in function `_aead_recvmsg.constprop.0':
>> algif_aead.c:(.text+0x234): undefined reference to `af_alg_wait_for_data'
>> arm-linux-gnueabi-ld: algif_aead.c:(.text+0x26c): undefined reference to `af_alg_alloc_areq'
>> arm-linux-gnueabi-ld: algif_aead.c:(.text+0x294): undefined reference to `af_alg_get_rsgl'
>> arm-linux-gnueabi-ld: algif_aead.c:(.text+0x29e): undefined reference to `af_alg_free_resources'
   arm-linux-gnueabi-ld: algif_aead.c:(.text+0x2ba): undefined reference to `af_alg_free_resources'
>> arm-linux-gnueabi-ld: algif_aead.c:(.text+0x32a): undefined reference to `af_alg_pull_tsgl'
>> arm-linux-gnueabi-ld: algif_aead.c:(.text+0x3e2): undefined reference to `sk_free'
   arm-linux-gnueabi-ld: algif_aead.c:(.text+0x3e8): undefined reference to `af_alg_free_resources'
   arm-linux-gnueabi-ld: algif_aead.c:(.text+0x3f6): undefined reference to `af_alg_free_resources'
>> arm-linux-gnueabi-ld: algif_aead.c:(.text+0x422): undefined reference to `af_alg_count_tsgl'
   arm-linux-gnueabi-ld: algif_aead.c:(.text+0x440): undefined reference to `sock_kmalloc'
   arm-linux-gnueabi-ld: algif_aead.c:(.text+0x44c): undefined reference to `af_alg_free_resources'
   arm-linux-gnueabi-ld: algif_aead.c:(.text+0x468): undefined reference to `af_alg_pull_tsgl'
>> arm-linux-gnueabi-ld: algif_aead.c:(.text+0x4bc): undefined reference to `af_alg_async_cb'
   arm-linux-gnueabi-ld: crypto/algif_aead.o: in function `aead_recvmsg':
>> algif_aead.c:(.text+0x548): undefined reference to `lock_sock_nested'
>> arm-linux-gnueabi-ld: algif_aead.c:(.text+0x578): undefined reference to `af_alg_wmem_wakeup'
>> arm-linux-gnueabi-ld: algif_aead.c:(.text+0x57e): undefined reference to `release_sock'
   arm-linux-gnueabi-ld: crypto/algif_aead.o: in function `aead_check_key':
   algif_aead.c:(.text+0x5b0): undefined reference to `lock_sock_nested'
>> arm-linux-gnueabi-ld: algif_aead.c:(.text+0x5c6): undefined reference to `lock_sock_nested'
   arm-linux-gnueabi-ld: algif_aead.c:(.text+0x5f4): undefined reference to `release_sock'
   arm-linux-gnueabi-ld: algif_aead.c:(.text+0x5fa): undefined reference to `release_sock'
   arm-linux-gnueabi-ld: crypto/algif_aead.o: in function `aead_sendmsg':
>> algif_aead.c:(.text+0x7a): undefined reference to `af_alg_sendmsg'
   arm-linux-gnueabi-ld: crypto/algif_aead.o: in function `aead_sock_destruct':
>> algif_aead.c:(.text+0xc0): undefined reference to `af_alg_release_parent'
   arm-linux-gnueabi-ld: crypto/algif_aead.o: in function `aead_sendpage_nokey':
>> algif_aead.c:(.text+0x62e): undefined reference to `af_alg_sendpage'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x8): undefined reference to `af_alg_release'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0xc): undefined reference to `sock_no_bind'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x10): undefined reference to `sock_no_connect'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x14): undefined reference to `sock_no_socketpair'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x18): undefined reference to `sock_no_accept'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x1c): undefined reference to `sock_no_getname'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x20): undefined reference to `af_alg_poll'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x24): undefined reference to `sock_no_ioctl'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x2c): undefined reference to `sock_no_listen'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x30): undefined reference to `sock_no_shutdown'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x48): undefined reference to `sock_no_mmap'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x74): undefined reference to `af_alg_release'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x78): undefined reference to `sock_no_bind'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x7c): undefined reference to `sock_no_connect'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x80): undefined reference to `sock_no_socketpair'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x84): undefined reference to `sock_no_accept'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x88): undefined reference to `sock_no_getname'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x8c): undefined reference to `af_alg_poll'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x90): undefined reference to `sock_no_ioctl'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x98): undefined reference to `sock_no_listen'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0x9c): undefined reference to `sock_no_shutdown'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0xb4): undefined reference to `sock_no_mmap'
   arm-linux-gnueabi-ld: crypto/algif_aead.o:(.data+0xb8): undefined reference to `af_alg_sendpage'
   arm-linux-gnueabi-ld: crypto/algif_aead.o: in function `algif_aead_exit':
   algif_aead.c:(.exit.text+0x4): undefined reference to `af_alg_unregister_type'
   arm-linux-gnueabi-ld: crypto/algif_aead.o: in function `algif_aead_init':
   algif_aead.c:(.init.text+0x2): undefined reference to `af_alg_register_type'

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for CRYPTO_USER_API_AEAD
   Depends on [n]: CRYPTO [=y] && NET [=n]
   Selected by [y]:
   - CRYPTO_DEV_ZYNQMP_AES [=y] && CRYPTO [=y] && CRYPTO_HW [=y] && (ZYNQMP_FIRMWARE [=n] || COMPILE_TEST [=y])

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

             reply	other threads:[~2023-04-12 18:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-12 18:37 kernel test robot [this message]
2023-04-12 18:37 ` [xilinx-xlnx:master 13338/14520] algif_aead.c:undefined reference to `af_alg_pull_tsgl' kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202304130250.xsGCeZP0-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=dhaval.r.shah@amd.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=radhey.shyam.pandey@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.