tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 3c30cf91b5ecc7272b3d2942ae0505dd8320b81c commit: abfb9c0725f274c75ca2a51684c2dd842a8dc254 [219/6564] apparmor: make export of raw binary profile to userspace optional config: mips-randconfig-r035-20220220 (https://download.01.org/0day-ci/archive/20220221/202202210129.8w1SVZs6-lkp@xxxxxxxxx/config) compiler: mips64el-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=mips 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 >>): mips64el-linux-ld: security/apparmor/policy_unpack.o: in function `deflate_compress': policy_unpack.c:(.text+0x6b0): undefined reference to `zlib_deflate_workspacesize' >> mips64el-linux-ld: policy_unpack.c:(.text+0x6e8): undefined reference to `zlib_deflateInit2' >> mips64el-linux-ld: policy_unpack.c:(.text+0x75c): undefined reference to `zlib_deflate' >> mips64el-linux-ld: policy_unpack.c:(.text+0x77c): undefined reference to `zlib_deflateEnd' --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx