[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202204070737.6a0DKGta-lkp@intel.com>
Date: Thu, 7 Apr 2022 08:02:50 +0800
From: kernel test robot <lkp@...el.com>
To: Matteo Croce <mcroce@...rosoft.com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org,
Emil Renner Berthing <kernel@...il.dk>
Subject: [esmil:visionfive 2/55] arch/riscv/lib/string.c:89:7: error:
expected identifier or '('
tree: https://github.com/esmil/linux visionfive
head: 7ff84520cb688edd6028a4ac3de3ed684eb22794
commit: b058f14336c3f0efc9156b44d9b4f8357e5c7a56 [2/55] riscv: optimized memcpy
config: riscv-randconfig-r003-20220406 (https://download.01.org/0day-ci/archive/20220407/202204070737.6a0DKGta-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c4a1b07d0979e7ff20d7d541af666d822d66b566)
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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://github.com/esmil/linux/commit/b058f14336c3f0efc9156b44d9b4f8357e5c7a56
git remote add esmil https://github.com/esmil/linux
git fetch --no-tags esmil visionfive
git checkout b058f14336c3f0efc9156b44d9b4f8357e5c7a56
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> arch/riscv/lib/string.c:89:7: error: expected identifier or '('
void *memcpy(void *dest, const void *src, size_t count) __weak __alias(__memcpy);
^
include/linux/fortify-string.h:369:26: note: expanded from macro 'memcpy'
#define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \
^
include/linux/fortify-string.h:358:42: note: expanded from macro '__fortify_memcpy_chk'
p_size_field, q_size_field, op) ({ \
^
>> arch/riscv/lib/string.c:89:7: error: expected ')'
include/linux/fortify-string.h:369:26: note: expanded from macro 'memcpy'
#define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \
^
include/linux/fortify-string.h:358:42: note: expanded from macro '__fortify_memcpy_chk'
p_size_field, q_size_field, op) ({ \
^
arch/riscv/lib/string.c:89:7: note: to match this '('
include/linux/fortify-string.h:369:26: note: expanded from macro 'memcpy'
#define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \
^
include/linux/fortify-string.h:358:41: note: expanded from macro '__fortify_memcpy_chk'
p_size_field, q_size_field, op) ({ \
^
2 errors generated.
vim +89 arch/riscv/lib/string.c
88
> 89 void *memcpy(void *dest, const void *src, size_t count) __weak __alias(__memcpy);
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists