linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [akpm-mm:mm-nonmm-unstable 71/99] include/linux/instrumented.h:86:(.text.efi_stub_common+0x198): undefined reference to `warn_slowpath_fmt'
@ 2025-12-25 21:19 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-25 21:19 UTC (permalink / raw)
  To: Peter Zijlstra
  Cc: oe-kbuild-all, David Hildenbrand, Andrew Morton,
	Linux Memory Management List, Finn Thain

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-nonmm-unstable
head:   c40f0b9f72a08d208c7793090ae98faaf6a58719
commit: 472d1f40d1f7db592e9fef39a813c7e8cf95359d [71/99] atomic: add alignment check to instrumented atomic operations
config: arm-randconfig-r072-20251225 (https://download.01.org/0day-ci/archive/20251226/202512260552.mJWvYIYi-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 14.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251226/202512260552.mJWvYIYi-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/202512260552.mJWvYIYi-lkp@intel.com/

All errors (new ones prefixed by >>):

   arm-linux-gnueabi-ld: warning: orphan section `.data..once' from `drivers/firmware/efi/libstub/efi-stub.stub.o' being placed in section `.data..once'
   arm-linux-gnueabi-ld: error: zImage file size is incorrect
   arm-linux-gnueabi-ld: drivers/firmware/efi/libstub/efi-stub.stub.o: in function `instrument_atomic_write':
>> include/linux/instrumented.h:86:(.text.efi_stub_common+0x198): undefined reference to `warn_slowpath_fmt'
   arm-linux-gnueabi-ld: arch/arm/boot/compressed/vmlinux: hidden symbol `warn_slowpath_fmt' isn't defined
   arm-linux-gnueabi-ld: final link failed: bad value


vim +86 include/linux/instrumented.h

    73	
    74	/**
    75	 * instrument_atomic_write - instrument atomic write access
    76	 * @v: address of access
    77	 * @size: size of access
    78	 *
    79	 * Instrument an atomic write access. The instrumentation should be inserted
    80	 * before the actual write happens.
    81	 */
    82	static __always_inline void instrument_atomic_write(const volatile void *v, size_t size)
    83	{
    84		kasan_check_write(v, size);
    85		kcsan_check_atomic_write(v, size);
  > 86		WARN_ON_ONCE(IS_ENABLED(CONFIG_DEBUG_ATOMIC) && ((unsigned long)v & (size - 1)));
    87	}
    88	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-12-25 21:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-25 21:19 [akpm-mm:mm-nonmm-unstable 71/99] include/linux/instrumented.h:86:(.text.efi_stub_common+0x198): undefined reference to `warn_slowpath_fmt' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox