ld.lld: error: call to __read_overflow marked "dontcall-error": detected read beyond size of object (1st parameter)

kernel test robot
2025-06-27T11:41:54Z

Hi Kees,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 67a993863163cb88b1b68974c31b0d84ece4293e
commit: 6ee149f61bcce39692f0335a01e99355d4cec8da kunit/fortify: Replace "volatile" with OPTIMIZER_HIDE_VAR()
date: 4 months ago
config: x86_64-randconfig-071-20250627 (https://download.01.org/0day-ci/archive/20250627/202506271959.rmmh0j8X-lkp@intel.com/config)
compiler: clang version 20.1.7 (https://github.com/llvm/llvm-project 6146a88f60492b520a36f8f8f3231e15f3cc6082)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250627/202506271959.rmmh0j8X-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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506271959.rmmh0j8X-lkp@intel.com/