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 B5C2AC77B6C for ; Thu, 6 Apr 2023 11:21:09 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0DCE46B0071; Thu, 6 Apr 2023 07:21:09 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 08DDD6B0074; Thu, 6 Apr 2023 07:21:09 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E6FFB6B0075; Thu, 6 Apr 2023 07:21:08 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id D6C1C6B0071 for ; Thu, 6 Apr 2023 07:21:08 -0400 (EDT) Received: from smtpin20.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id A156B1C7139 for ; Thu, 6 Apr 2023 11:21:08 +0000 (UTC) X-FDA: 80650724616.20.7D317B7 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by imf01.hostedemail.com (Postfix) with ESMTP id CB0474001D for ; Thu, 6 Apr 2023 11:21:04 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=XKLwe46m; spf=pass (imf01.hostedemail.com: domain of lkp@intel.com designates 192.55.52.88 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1680780066; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=MBdcBFE75Q4mSht2S8MPN+kzmK2gY4hyBgVwu+FFISs=; b=NDeRoHM4QQsEvyURc/zeprxxylsUQ2sPHKTZiRJXdo5h0UaeY/2z4+tldxPnr4Yb68JNQP QMWlqEe1gSYt6UbTa3oiorpHHwCgzzWOhYkG4S3v6pimHXLiiMTCfZVxf83A1C1A9//j7A fdSksbrhn6jNlXlaUl1Ff3TGuXlIlQE= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=XKLwe46m; spf=pass (imf01.hostedemail.com: domain of lkp@intel.com designates 192.55.52.88 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1680780066; a=rsa-sha256; cv=none; b=C2SOThajlxmiC7WOmvPk/Ox5CMs8+QVuGryGAloHxxX2xuyGVybMehSRWD9Egm3dPxvkbg XfWHBxzo9OJFK+o1MP165G7AIFvvpzKsDVE5X7JqNI4G2ckOUeeL3Myoey2iVOBurcwFsr 3s8iBYPyrdyZY3tTYocmc3kW9ZwKUG0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1680780064; x=1712316064; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=MXRWgeeeuucicATdvWXdJpi4j7VRWmOq+LFsppDD6zQ=; b=XKLwe46m8pIJxLiMeRP7OuBOnnim+Sc3dkzK47/5jjSspf+URcntu74Z PoHTcp15ItXrnMX9TtdAGu4LEF3i5gZ7aIZloeL1DXlRVNIkoEUsmFcws 31789DMRKI2A1nbk4URjKN9ETwak5wkYBxPF1YJquP0OsJjyAdjTBDUTp NOd8j1jHmTcz0YlN15ekvt1/vDYSma9QG8rFLEOAqIAUZMLblIdgHSGnG y3yR2P2VDqyNvKyVBghIdVc13r1Rcp49N1o0VmNJx2wL+qHKOEX1ohvSp g4fsSciU54t9nc75vgoifkDJCyuotYE1BgeouE6pTOhj7f/gYtignjZ/L A==; X-IronPort-AV: E=McAfee;i="6600,9927,10671"; a="370543812" X-IronPort-AV: E=Sophos;i="5.98,323,1673942400"; d="scan'208";a="370543812" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Apr 2023 04:20:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10671"; a="664406087" X-IronPort-AV: E=Sophos;i="5.98,323,1673942400"; d="scan'208";a="664406087" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by orsmga006.jf.intel.com with ESMTP; 06 Apr 2023 04:20:49 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1pkNfc-000RKI-2a; Thu, 06 Apr 2023 11:20:48 +0000 Date: Thu, 6 Apr 2023 19:19:55 +0800 From: kernel test robot To: Kees Cook , linux-hardening@vger.kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Kees Cook , Andy Shevchenko , Cezary Rojewski , Puyou Lu , Mark Brown , Josh Poimboeuf , Peter Zijlstra , Brendan Higgins , David Gow , Andrew Morton , Linux Memory Management List , Nathan Chancellor , Alexander Potapenko , Zhaoyang Huang , Randy Dunlap , Geert Uytterhoeven , Miguel Ojeda , Nick Desaulniers , Liam Howlett , Vlastimil Babka , Dan Williams , Rasmus Villemoes , Yury Norov , "Jason A. Donenfeld" , Sander Vanheule , Eric Biggers , "Masami Hiramatsu (Google)" , Andrey Konovalov , Linus Walleij Subject: Re: [PATCH 6/9] fortify: Split reporting and avoid passing string pointer Message-ID: <202304061930.4Au0PASm-lkp@intel.com> References: <20230406000212.3442647-6-keescook@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230406000212.3442647-6-keescook@chromium.org> X-Rspam-User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lycIoc A2fDLb2C Dc+re/IQ4DP+j44OezA8hI7PNt2jJi+0j05W0I0QZb489zPDgyEkpfZvleppowCpnuo1Mqkpx3cu485hpih9mW7CdCRXrVkRJt6aNnbsQzQYhINaA9obB9g7CQpH86W4Fo1p1LuKv+rh9yE+r773kw5GyG2f6Pz+px5ehEqSfUtPe7LqUZYQu+skkyqJrqsIxO9iRNvS9M6xUo4kn6ERBXIm3chjvF+DPdfS6111Iz9WZBzcx9Mx/vslIcQxq4+u+6RmLJWA0xXPFHt49WglWpHf9L0UUUgg5q7TDLRn97YuU3wnuyFhtWzhnXmaR7P3R5wTT15K+DBSajlojeh+E8RtHLJBLrk15QEO5kkFkoS7QSx1Nee1iK5NSFyI1DrSe8QvdegtPOJcYoW1T0HImDKF0BpmUcMj2k7p/F+0evkXw2D5zyLNDDZ8P6f/etl8ABJMJxAU4fz7APMlkRq9iAGP3jCfl6cxo5i8vRzvCGmBvyH07W1bMc9QHiX+HeTDCvAFKHlTZam6nv5SPu+gNZeXRJ3/j98AGnJ5dSnwnt8fkbgY2kd42TPh4CptKga9c8rzqKEIGeFpNtYszqlL4cr/aB9Jrju6q1gu4IzhugeoE00Rj9LjnTl56wKpkklk9+PAv7WdBlZQNBk5/MZrVvZ7U9+S2SQauM8R6HiyOb3jUqFE= 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: Hi Kees, kernel test robot noticed the following build errors: [auto build test ERROR on kees/for-next/hardening] [also build test ERROR on kees/for-next/pstore kees/for-next/kspp akpm-mm/mm-everything linus/master v6.3-rc5 next-20230406] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Kees-Cook/kunit-tool-Enable-CONFIG_FORTIFY_SOURCE-under-UML/20230406-081014 base: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/hardening patch link: https://lore.kernel.org/r/20230406000212.3442647-6-keescook%40chromium.org patch subject: [PATCH 6/9] fortify: Split reporting and avoid passing string pointer config: arm-randconfig-r025-20230403 (https://download.01.org/0day-ci/archive/20230406/202304061930.4Au0PASm-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 67409911353323ca5edf2049ef0df54132fa1ca7) 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 # install arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # https://github.com/intel-lab-lkp/linux/commit/4fd520e6ee549e1ffe8859e26e57ea64b48e78ea git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Kees-Cook/kunit-tool-Enable-CONFIG_FORTIFY_SOURCE-under-UML/20230406-081014 git checkout 4fd520e6ee549e1ffe8859e26e57ea64b48e78ea # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang 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 | Link: https://lore.kernel.org/oe-kbuild-all/202304061930.4Au0PASm-lkp@intel.com/ All errors (new ones prefixed by >>): >> ld.lld: error: undefined symbol: __fortify_panic >>> referenced by fortify-string.h:208 (include/linux/fortify-string.h:208) >>> arch/arm/boot/compressed/fdt_ro.o:(fdt_stringlist_count) >>> referenced by fortify-string.h:208 (include/linux/fortify-string.h:208) >>> arch/arm/boot/compressed/fdt_ro.o:(fdt_stringlist_search) >>> referenced by fortify-string.h:208 (include/linux/fortify-string.h:208) >>> arch/arm/boot/compressed/fdt_ro.o:(fdt_stringlist_get) -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests