* [ardb:efi-decompressor-v4 4/9] drivers/firmware/efi/libstub/intrinsics.c:18:7: error: definition of builtin function '__builtin_memcpy'
@ 2022-08-27 6:21 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-08-27 6:21 UTC (permalink / raw)
To: Ard Biesheuvel; +Cc: llvm, kbuild-all, linux-kernel
tree: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git efi-decompressor-v4
head: 2943178d7555c331c19e9cce9a83e47f9513f3b1
commit: 74f59f87ddbcbacc7232ac6800916260a0632126 [4/9] efi/libstub: use EFI provided memcpy/memset routines
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20220827/202208271446.2z1VzPD0-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
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
# https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?id=74f59f87ddbcbacc7232ac6800916260a0632126
git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
git fetch --no-tags ardb efi-decompressor-v4
git checkout 74f59f87ddbcbacc7232ac6800916260a0632126
# 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=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/firmware/efi/libstub/intrinsics.c:18:7: error: definition of builtin function '__builtin_memcpy'
void *memcpy(void *dst, const void *src, size_t len)
^
arch/x86/include/asm/string_32.h:150:25: note: expanded from macro 'memcpy'
#define memcpy(t, f, n) __builtin_memcpy(t, f, n)
^
>> drivers/firmware/efi/libstub/intrinsics.c:26:7: error: definition of builtin function '__builtin_memset'
void *memset(void *dst, int c, size_t len)
^
arch/x86/include/asm/string_32.h:195:29: note: expanded from macro 'memset'
#define memset(s, c, count) __builtin_memset(s, c, count)
^
2 errors generated.
vim +/__builtin_memcpy +18 drivers/firmware/efi/libstub/intrinsics.c
17
> 18 void *memcpy(void *dst, const void *src, size_t len)
19 {
20 efi_bs_call(copy_mem, dst, src, len);
21 return dst;
22 }
23
24 extern void *memmove(void *dst, const void *src, size_t len) __alias(memcpy);
25
> 26 void *memset(void *dst, int c, size_t len)
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-08-27 6:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-27 6:21 [ardb:efi-decompressor-v4 4/9] drivers/firmware/efi/libstub/intrinsics.c:18:7: error: definition of builtin function '__builtin_memcpy' 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