All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android12-trusty-5.10 1480/7898] ld.lld: error: cannot open /opt/cross/clang-437b7602e4/lib/clang/17/lib/linux/libclang_rt.builtins-x86_64.a: No such file or directory
@ 2023-04-19  0:08 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-04-19  0:08 UTC (permalink / raw)
  Cc: oe-kbuild-all, llvm

TO: cros-kernel-buildreports@googlegroups.com

tree:   https://android.googlesource.com/kernel/common android12-trusty-5.10
head:   599ad660291e9e6b440d7b25af31d48125b25e88
commit: f14e5bfb39b776318133e00b8c066ce8a870e9ab [1480/7898] ANDROID: Makefile: add compiler-rt dependency explicitly
config: arm-randconfig-r035-20230417 (attached as .config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 437b7602e4a998220871de78afcb020b9c14a661)
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/202304190833.IPmAkrxR-lkp@intel.com/

All errors (new ones prefixed by >>):

>> ld.lld: error: cannot open /opt/cross/clang-437b7602e4/lib/clang/17/lib/linux/libclang_rt.builtins-x86_64.a: No such file or directory
>> ld.lld: error: cannot open /opt/cross/clang-437b7602e4/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-437b7602e4/lib/clang/17/lib/linux/libclang_rt.builtins-x86_64.a: No such file or directory
>> ld.lld: error: cannot open /opt/cross/clang-437b7602e4/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-04-19  0:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-19  0:08 [android-common:android12-trusty-5.10 1480/7898] ld.lld: error: cannot open /opt/cross/clang-437b7602e4/lib/clang/17/lib/linux/libclang_rt.builtins-x86_64.a: No such file or directory kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.