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 BA88EC48295 for ; Mon, 5 Feb 2024 15:13:44 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 302BA6B0075; Mon, 5 Feb 2024 10:13:44 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 28BB26B0078; Mon, 5 Feb 2024 10:13:44 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 12D776B007B; Mon, 5 Feb 2024 10:13:44 -0500 (EST) 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 F117C6B0075 for ; Mon, 5 Feb 2024 10:13:43 -0500 (EST) Received: from smtpin28.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 50668C0639 for ; Mon, 5 Feb 2024 15:13:43 +0000 (UTC) X-FDA: 81758094726.28.D2607EF Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) by imf11.hostedemail.com (Postfix) with ESMTP id 9A7CC40013 for ; Mon, 5 Feb 2024 15:13:39 +0000 (UTC) Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=JOLwcQzl; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf11.hostedemail.com: domain of lkp@intel.com designates 198.175.65.12 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1707146020; 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: references:dkim-signature; bh=U7k4L606Ft0Zpji5BlavMHmEd7/hp1yQL4P2Iq/vBtM=; b=AqLaY19qRRXLHBq9ceFB72N3oxd9U9jISls+jGplDF5ghef1laxnhJ2VR5zHnqTWHME9su GZvMHyswYa3z6ViANcbLl0QgqvPzqZgZVbvs+qnKQqVdn7dlPYqAA7uU0Cd3EjLMYMP5r4 xJyfNI8htQObj2OTCVfZdAiuTS0oJWk= ARC-Authentication-Results: i=1; imf11.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=JOLwcQzl; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf11.hostedemail.com: domain of lkp@intel.com designates 198.175.65.12 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1707146020; a=rsa-sha256; cv=none; b=VL25R+5zeFjf2FEOiV1Q78ik5dTu1PGnuAlNcxMr/udNXndkbFu12Vr+Wx5laCAcyf2zpd 5fi4pKkDwER9HHT8gIgqVGzYb9ntNg6P2McJA20WTqYY3HY9dGtAcSWlqeHdqEC5lCdh6z PrHs+sz2t5y071E0I+HiGCXS9usxU88= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707146020; x=1738682020; h=date:from:to:cc:subject:message-id:mime-version; bh=14T9Wu4Ejlaq3MXwvGWTBdFS+Jtk6xFUHCKRXj25lPY=; b=JOLwcQzlljfQpUYgOHENCp6DNsqjSvoKoQ959cy2WLwV+pwQxaqaOt9z /hJ17PasY3/Uz6cmu34R+/56rNp4AZ3vFcDRzgOG1WVNeh8l2CAvn5tur nJKZBfEYpo53p7f98J7IwgTG4A86QdtFncUktgIoHRirOCyJ2HZ6B9JOv kvPSoauFbwq9Jt+n1a0UH5Mu0WNOocNlEwIzlR/xrkCd5BapQqAtmI0hA eKPM/O4rpIeB+Q5iq6NAyNEaizYHpd0YgHDJsxQqFZM0f+usz5g5bq8qW 53Pa/8hCZbFS8oSXBcEogO7h2FgtSR6jUahEyOWaKdAZ7QtejX+RyCM1Z w==; X-IronPort-AV: E=McAfee;i="6600,9927,10975"; a="11893812" X-IronPort-AV: E=Sophos;i="6.05,245,1701158400"; d="scan'208";a="11893812" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Feb 2024 07:13:33 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,245,1701158400"; d="scan'208";a="752435" Received: from lkp-server01.sh.intel.com (HELO 01f0647817ea) ([10.239.97.150]) by fmviesa010.fm.intel.com with ESMTP; 05 Feb 2024 07:13:31 -0800 Received: from kbuild by 01f0647817ea with local (Exim 4.96) (envelope-from ) id 1rX0f3-0000bg-1Z; Mon, 05 Feb 2024 15:13:29 +0000 Date: Mon, 5 Feb 2024 23:12:44 +0800 From: kernel test robot To: Kees Cook Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List Subject: [linux-next:master 3278/4021] arch/sparc/vdso/vclock_gettime.c:197:undefined reference to `__ubsan_handle_shift_out_of_bounds' Message-ID: <202402052332.5r7hzXyV-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 9A7CC40013 X-Rspam-User: X-Rspamd-Server: rspam04 X-Stat-Signature: yqkuh9xfdoriqmetzbuo5skeqqomq3dz X-HE-Tag: 1707146019-357114 X-HE-Meta: U2FsdGVkX19a5v+iUm+mGGZYWKvn2We/ClsbLHTj9W2Lr/hiJsRsPszo5pkNK/yleeaCIdxdMvZt3aIMCwv4YsnjXsco/eTMXtScC4RQykIupFxhae+uWNX1N2X0g++mezoVmGiXlaolLWpECgunuTZUUB49MBbb5rzlwM+5dr3hTRT5MMuXDQjGA/F8BQNVgvYKv8oX7wBAIlIvVemvsIcoNrRBFYdWP+txlnVZsv+e1cJc/JW4WnOkZ7gofs86oprtdbYXnChmcgizdG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fekxsI8gXlk6LGoLwQQNDqBmecV/Zr6QEQt8a4Bfb2TCF4+vcAZxx0PJ686Q54wMdFdpA== 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: List-Subscribe: List-Unsubscribe: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 23e11d0318521e8693459b0e4d23aec614b3b68b commit: 31a765c6a9693e06306467c7929d16d010ad970c [3278/4021] ubsan: Remove CONFIG_UBSAN_SANITIZE_ALL config: sparc64-randconfig-r012-20230903 (https://download.01.org/0day-ci/archive/20240205/202402052332.5r7hzXyV-lkp@intel.com/config) compiler: sparc64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240205/202402052332.5r7hzXyV-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202402052332.5r7hzXyV-lkp@intel.com/ All errors (new ones prefixed by >>): sparc64-linux-ld: warning: arch/sparc/vdso/vdso-note.o: missing .note.GNU-stack section implies executable stack sparc64-linux-ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker sparc64-linux-ld: arch/sparc/vdso/vclock_gettime.o: in function `__vdso_clock_gettime': >> arch/sparc/vdso/vclock_gettime.c:197:(.text+0x288): undefined reference to `__ubsan_handle_shift_out_of_bounds' >> sparc64-linux-ld: arch/sparc/vdso/vclock_gettime.c:157:(.text+0x2a8): undefined reference to `__ubsan_handle_shift_out_of_bounds' sparc64-linux-ld: arch/sparc/vdso/vclock_gettime.o: in function `__vdso_clock_gettime_stick': arch/sparc/vdso/vclock_gettime.c:217:(.text+0x548): undefined reference to `__ubsan_handle_shift_out_of_bounds' sparc64-linux-ld: arch/sparc/vdso/vclock_gettime.c:177:(.text+0x568): undefined reference to `__ubsan_handle_shift_out_of_bounds' sparc64-linux-ld: arch/sparc/vdso/vclock_gettime.o: in function `__vdso_gettimeofday': arch/sparc/vdso/vclock_gettime.c:157:(.text+0x6d0): undefined reference to `__ubsan_handle_shift_out_of_bounds' sparc64-linux-ld: arch/sparc/vdso/vclock_gettime.o:arch/sparc/vdso/vclock_gettime.c:177: more undefined references to `__ubsan_handle_shift_out_of_bounds' follow vim +197 arch/sparc/vdso/vclock_gettime.c caf539cd1087f7 David S. Miller 2018-10-25 145 794b88e0475889 David S. Miller 2018-10-21 146 notrace static __always_inline int do_realtime(struct vvar_data *vvar, 82210fc778982d Arnd Bergmann 2019-10-27 147 struct __kernel_old_timespec *ts) 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 148 { 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 149 unsigned long seq; 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 150 u64 ns; 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 151 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 152 do { 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 153 seq = vvar_read_begin(vvar); 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 154 ts->tv_sec = vvar->wall_time_sec; 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 155 ns = vvar->wall_time_snsec; 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 156 ns += vgetsns(vvar); 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 @157 ns >>= vvar->clock.shift; 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 158 } while (unlikely(vvar_read_retry(vvar, seq))); 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 159 19832d24495418 David S. Miller 2018-10-21 160 ts->tv_sec += __iter_div_u64_rem(ns, NSEC_PER_SEC, &ns); 19832d24495418 David S. Miller 2018-10-21 161 ts->tv_nsec = ns; 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 162 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 163 return 0; 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 164 } 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 165 caf539cd1087f7 David S. Miller 2018-10-25 166 notrace static __always_inline int do_realtime_stick(struct vvar_data *vvar, 82210fc778982d Arnd Bergmann 2019-10-27 167 struct __kernel_old_timespec *ts) caf539cd1087f7 David S. Miller 2018-10-25 168 { caf539cd1087f7 David S. Miller 2018-10-25 169 unsigned long seq; caf539cd1087f7 David S. Miller 2018-10-25 170 u64 ns; caf539cd1087f7 David S. Miller 2018-10-25 171 caf539cd1087f7 David S. Miller 2018-10-25 172 do { caf539cd1087f7 David S. Miller 2018-10-25 173 seq = vvar_read_begin(vvar); caf539cd1087f7 David S. Miller 2018-10-25 174 ts->tv_sec = vvar->wall_time_sec; caf539cd1087f7 David S. Miller 2018-10-25 175 ns = vvar->wall_time_snsec; caf539cd1087f7 David S. Miller 2018-10-25 176 ns += vgetsns_stick(vvar); caf539cd1087f7 David S. Miller 2018-10-25 177 ns >>= vvar->clock.shift; caf539cd1087f7 David S. Miller 2018-10-25 178 } while (unlikely(vvar_read_retry(vvar, seq))); caf539cd1087f7 David S. Miller 2018-10-25 179 caf539cd1087f7 David S. Miller 2018-10-25 180 ts->tv_sec += __iter_div_u64_rem(ns, NSEC_PER_SEC, &ns); caf539cd1087f7 David S. Miller 2018-10-25 181 ts->tv_nsec = ns; caf539cd1087f7 David S. Miller 2018-10-25 182 caf539cd1087f7 David S. Miller 2018-10-25 183 return 0; caf539cd1087f7 David S. Miller 2018-10-25 184 } caf539cd1087f7 David S. Miller 2018-10-25 185 794b88e0475889 David S. Miller 2018-10-21 186 notrace static __always_inline int do_monotonic(struct vvar_data *vvar, 82210fc778982d Arnd Bergmann 2019-10-27 187 struct __kernel_old_timespec *ts) 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 188 { 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 189 unsigned long seq; 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 190 u64 ns; 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 191 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 192 do { 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 193 seq = vvar_read_begin(vvar); 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 194 ts->tv_sec = vvar->monotonic_time_sec; 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 195 ns = vvar->monotonic_time_snsec; 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 196 ns += vgetsns(vvar); 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 @197 ns >>= vvar->clock.shift; 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 198 } while (unlikely(vvar_read_retry(vvar, seq))); 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 199 19832d24495418 David S. Miller 2018-10-21 200 ts->tv_sec += __iter_div_u64_rem(ns, NSEC_PER_SEC, &ns); 19832d24495418 David S. Miller 2018-10-21 201 ts->tv_nsec = ns; 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 202 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 203 return 0; 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 204 } 9a08862a5d2e26 Nagarathnam Muthusamy 2017-09-21 205 :::::: The code at line 197 was first introduced by commit :::::: 9a08862a5d2e266ecea1865547463da2745fc687 vDSO for sparc :::::: TO: Nagarathnam Muthusamy :::::: CC: David S. Miller -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki