* [android-common:android12-trusty-5.10 1480/7892] ld.lld: error: cannot open /opt/cross/clang-db89896bbb/lib/clang/17/lib/linux/libclang_rt.builtins-x86_64.a: No such file or directory
@ 2023-02-14 21:31 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-02-14 21:31 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
tree: https://android.googlesource.com/kernel/common android12-trusty-5.10
head: e88b0fcae6db893ef5f2a45ad70499e02ee01a4e
commit: f14e5bfb39b776318133e00b8c066ce8a870e9ab [1480/7892] ANDROID: Makefile: add compiler-rt dependency explicitly
config: arm-randconfig-r046-20230213 (attached as .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 arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
git remote add android-common https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android12-trusty-5.10
git checkout f14e5bfb39b776318133e00b8c066ce8a870e9ab
# 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=arm olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm distclean
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/202302150523.9SGiXUuS-lkp@intel.com/
All errors (new ones prefixed by >>):
>> ld.lld: error: cannot open /opt/cross/clang-db89896bbb/lib/clang/17/lib/linux/libclang_rt.builtins-x86_64.a: No such file or directory
>> ld.lld: error: cannot open /opt/cross/clang-db89896bbb/lib/clang/17/lib/linux/libclang_rt.builtins-x86_64.a: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [scripts/Makefile.host:95: scripts/basic/fixdep] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:540: scripts_basic] Error 2
make[1]: Target 'oldconfig' not remade because of errors.
make: *** [Makefile:185: __sub-make] Error 2
make: Target 'oldconfig' not remade because of errors.
--
>> ld.lld: error: cannot open /opt/cross/clang-db89896bbb/lib/clang/17/lib/linux/libclang_rt.builtins-x86_64.a: No such file or directory
>> ld.lld: error: cannot open /opt/cross/clang-db89896bbb/lib/clang/17/lib/linux/libclang_rt.builtins-x86_64.a: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [scripts/Makefile.host:95: scripts/basic/fixdep] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:540: scripts_basic] Error 2
make[1]: Target 'olddefconfig' not remade because of errors.
make: *** [Makefile:185: __sub-make] Error 2
make: Target 'olddefconfig' not remade because of errors.
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-14 21:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-14 21:31 [android-common:android12-trusty-5.10 1480/7892] ld.lld: error: cannot open /opt/cross/clang-db89896bbb/lib/clang/17/lib/linux/libclang_rt.builtins-x86_64.a: No such file or directory 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;
as well as URLs for NNTP newsgroup(s).