* undefined reference to `ftrace_likely_update'
@ 2023-04-13 6:39 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2023-04-13 6:39 UTC (permalink / raw)
To: Kees Cook; +Cc: llvm, oe-kbuild-all, linux-kernel
Hi Kees,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: de4664485abbc0529b1eec44d0061bbfe58a28fb
commit: 54d9469bc515dc5fcbc20eecbe19cea868b70d68 fortify: Add run-time WARN for cross-field memcpy()
date: 7 months ago
config: s390-buildonly-randconfig-r001-20230413 (https://download.01.org/0day-ci/archive/20230413/202304131400.BLPkK6sC-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 2c57868e2e877f73c339796c3374ae660bb77f0d)
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 s390 cross compiling tool for clang build
# apt-get install binutils-s390x-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=54d9469bc515dc5fcbc20eecbe19cea868b70d68
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 54d9469bc515dc5fcbc20eecbe19cea868b70d68
# 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=s390 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304131400.BLPkK6sC-lkp@intel.com/
All errors (new ones prefixed by >>):
s390x-linux-ld: arch/s390/purgatory/purgatory: in function `sha256_update':
>> (.text+0x23f2): undefined reference to `ftrace_likely_update'
>> s390x-linux-ld: (.text+0x2aa8): undefined reference to `ftrace_likely_update'
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] 2+ messages in thread
* undefined reference to `ftrace_likely_update'
@ 2023-05-29 19:22 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2023-05-29 19:22 UTC (permalink / raw)
To: Kees Cook; +Cc: llvm, oe-kbuild-all, linux-kernel
Hi Kees,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8b817fded42d8fe3a0eb47b1149d907851a3c942
commit: 54d9469bc515dc5fcbc20eecbe19cea868b70d68 fortify: Add run-time WARN for cross-field memcpy()
date: 9 months ago
config: s390-randconfig-r033-20230529 (https://download.01.org/0day-ci/archive/20230530/202305300324.O7irARsx-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 4faf3aaf28226a4e950c103a14f6fc1d1fdabb1b)
reproduce (this is a W=1 build):
mkdir -p ~/bin
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install s390 cross compiling tool for clang build
# apt-get install binutils-s390x-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=54d9469bc515dc5fcbc20eecbe19cea868b70d68
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 54d9469bc515dc5fcbc20eecbe19cea868b70d68
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=s390 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202305300324.O7irARsx-lkp@intel.com/
All errors (new ones prefixed by >>):
s390x-linux-ld: arch/s390/purgatory/purgatory: in function `sha256_update':
>> (.text+0x23f2): undefined reference to `ftrace_likely_update'
>> s390x-linux-ld: (.text+0x240a): undefined reference to `ftrace_likely_update'
s390x-linux-ld: (.text+0x2422): undefined reference to `ftrace_likely_update'
s390x-linux-ld: (.text+0x2ad8): undefined reference to `ftrace_likely_update'
s390x-linux-ld: (.text+0x2af0): undefined reference to `ftrace_likely_update'
s390x-linux-ld: arch/s390/purgatory/purgatory:(.text+0x2b08): more undefined references to `ftrace_likely_update' follow
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-05-29 19:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-29 19:22 undefined reference to `ftrace_likely_update' kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2023-04-13 6:39 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