tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: b3c0a155ef77550d48f6eb7c6fdd6075764a5622 commit: abfb9c0725f274c75ca2a51684c2dd842a8dc254 [310/4212] apparmor: make export of raw binary profile to userspace optional config: microblaze-randconfig-r006-20220207 (https://download.01.org/0day-ci/archive/20220207/202202071838.DjsF2x5J-lkp@xxxxxxxxx/config) compiler: microblaze-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=abfb9c0725f274c75ca2a51684c2dd842a8dc254 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 abfb9c0725f274c75ca2a51684c2dd842a8dc254 # 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=microblaze SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): microblaze-linux-ld: security/apparmor/policy_unpack.o: in function `deflate_compress': >> policy_unpack.o:(.text+0x13e0): undefined reference to `zlib_deflate_workspacesize' >> microblaze-linux-ld: policy_unpack.o:(.text+0x1420): undefined reference to `zlib_deflateInit2' >> microblaze-linux-ld: policy_unpack.o:(.text+0x14a0): undefined reference to `zlib_deflate' >> microblaze-linux-ld: policy_unpack.o:(.text+0x14c4): undefined reference to `zlib_deflateEnd' --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx