From: kernel test robot <[email protected]>
To: Marco Elver <[email protected]>
Cc: [email protected], [email protected],
Ammar Faizi <[email protected]>,
GNU/Weeb Mailing List <[email protected]>,
Andrew Morton <[email protected]>,
Linux Memory Management List <[email protected]>,
Andrey Konovalov <[email protected]>
Subject: [ammarfaizi2-block:akpm/mm/mm-unstable 13/64] ld.lld: error: undefined symbol: memcpy
Date: Mon, 27 Feb 2023 14:02:35 +0800 [thread overview]
Message-ID: <[email protected]> (raw)
tree: https://github.com/ammarfaizi2/linux-block akpm/mm/mm-unstable
head: 8ed02c625a2b76ca52e16ca6a4fcf57183ea72ed
commit: 07e0a7128168f7174b55a50fc154f5a8810dc23c [13/64] kasan: treat meminstrinsic as builtins in uninstrumented files
config: powerpc-randconfig-r022-20230226 (https://download.01.org/0day-ci/archive/20230227/[email protected]/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project db89896bbbd2251fff457699635acbbedeead27f)
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 powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
# https://github.com/ammarfaizi2/linux-block/commit/07e0a7128168f7174b55a50fc154f5a8810dc23c
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block akpm/mm/mm-unstable
git checkout 07e0a7128168f7174b55a50fc154f5a8810dc23c
# 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=powerpc olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <[email protected]>
| Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
>> ld.lld: error: undefined symbol: memcpy
>>> referenced by nonstdio.c
>>> arch/powerpc/xmon/nonstdio.o:(xmon_write) in archive vmlinux.a
>>> referenced by xmon.c
>>> arch/powerpc/xmon/xmon.o:(prregs) in archive vmlinux.a
>>> referenced by alarmtimer.c
>>> kernel/time/alarmtimer.o:(alarmtimer_suspend) in archive vmlinux.a
>>> referenced 74 more times
--
>> ld.lld: error: undefined symbol: memset
>>> referenced by kasan_test.c
>>> mm/kasan/kasan_test.o:(kmalloc_oob_in_memset) in archive vmlinux.a
>>> referenced by kasan_test.c
>>> mm/kasan/kasan_test.o:(kmalloc_oob_memset_2) in archive vmlinux.a
>>> referenced by kasan_test.c
>>> mm/kasan/kasan_test.o:(kmalloc_oob_memset_4) in archive vmlinux.a
>>> referenced 10 more times
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
reply other threads:[~2023-02-27 6:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox