From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gnuweeb.org (Postfix) with ESMTPS id 0A794831DA for ; Mon, 27 Feb 2023 06:03:27 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=DkmBbBgj; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677477808; x=1709013808; h=date:from:to:cc:subject:message-id:mime-version; bh=kea/ZPh+AsFpCFeWwDwk0tzPQAYnr3QkcltJ7nM+V6s=; b=DkmBbBgjnvMY1sUFXCHrCwFDbYQIYtRWCoQzWYMWB+8/cALxh1gPHx9I KdPpt8C+sg5tYf/Os75rsANp/gsTW3av3op9KSHULG3CUgbVLc7/wvovx G/9HmaaLCbAH9QtUu8HLTRjEymQN3rqJZupqVkJZJq+iyrCg2BKbsPRsw V4QGpM3HyB/07RNBRkzsxIMBTZtHhudAmBMmwZFbFd0VCYwaeQ9we4q3H aP/A7y8R6QWjFcBkNCXPISZ7oQ9LbJH5yxqiqHbHavCBMVnyJAFEYxO5L h/4rMJZ50oNyuCU73kol8OtRp40lt355na0njgo4X8Ld41H5PrKEr045z w==; X-IronPort-AV: E=McAfee;i="6500,9779,10633"; a="322029152" X-IronPort-AV: E=Sophos;i="5.97,331,1669104000"; d="scan'208";a="322029152" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Feb 2023 22:03:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10633"; a="847671709" X-IronPort-AV: E=Sophos;i="5.97,331,1669104000"; d="scan'208";a="847671709" Received: from lkp-server01.sh.intel.com (HELO 3895f5c55ead) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 26 Feb 2023 22:03:23 -0800 Received: from kbuild by 3895f5c55ead with local (Exim 4.96) (envelope-from ) id 1pWWba-000483-2m; Mon, 27 Feb 2023 06:03:22 +0000 Date: Mon, 27 Feb 2023 14:02:35 +0800 From: kernel test robot To: Marco Elver Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Ammar Faizi , GNU/Weeb Mailing List , Andrew Morton , Linux Memory Management List , Andrey Konovalov Subject: [ammarfaizi2-block:akpm/mm/mm-unstable 13/64] ld.lld: error: undefined symbol: memcpy Message-ID: <202302271348.U5lvmo0S-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline List-Id: tree: https://github.com/ammarfaizi2/linux-block akpm/mm/mm-unstable head: 8ed02c625a2b76ca52e16ca6a4fcf57183ea72ed commit: 07e0a7128168f7174b55a50fc154f5a8810dc23c [13/64] kasan: treat meminstrinsic as builtins in uninstrumented files config: powerpc-randconfig-r022-20230226 (https://download.01.org/0day-ci/archive/20230227/202302271348.U5lvmo0S-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project db89896bbbd2251fff457699635acbbedeead27f) 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 powerpc cross compiling tool for clang build # apt-get install binutils-powerpc-linux-gnu # https://github.com/ammarfaizi2/linux-block/commit/07e0a7128168f7174b55a50fc154f5a8810dc23c git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block akpm/mm/mm-unstable git checkout 07e0a7128168f7174b55a50fc154f5a8810dc23c # 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=powerpc olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=powerpc 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/202302271348.U5lvmo0S-lkp@intel.com/ All errors (new ones prefixed by >>): >> ld.lld: error: undefined symbol: memcpy >>> referenced by nonstdio.c >>> arch/powerpc/xmon/nonstdio.o:(xmon_write) in archive vmlinux.a >>> referenced by xmon.c >>> arch/powerpc/xmon/xmon.o:(prregs) in archive vmlinux.a >>> referenced by alarmtimer.c >>> kernel/time/alarmtimer.o:(alarmtimer_suspend) in archive vmlinux.a >>> referenced 74 more times -- >> ld.lld: error: undefined symbol: memset >>> referenced by kasan_test.c >>> mm/kasan/kasan_test.o:(kmalloc_oob_in_memset) in archive vmlinux.a >>> referenced by kasan_test.c >>> mm/kasan/kasan_test.o:(kmalloc_oob_memset_2) in archive vmlinux.a >>> referenced by kasan_test.c >>> mm/kasan/kasan_test.o:(kmalloc_oob_memset_4) in archive vmlinux.a >>> referenced 10 more times -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests