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

kernel test robot
2025-05-22T06:13:18Z

head: d608703fcdd9e9538f6c7a0fcf98bf79b1375b60
commit: 6ee149f61bcce39692f0335a01e99355d4cec8da kunit/fortify: Replace "volatile" with OPTIMIZER_HIDE_VAR()
date: 2 months ago
config: x86_64-buildonly-randconfig-2002-20250516 (https://download.01.org/0day-ci/archive/20250522/202505221438.mh8V0cul-lkp@intel.com/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250522/202505221438.mh8V0cul-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/202505221438.mh8V0cul-lkp@intel.com/