Re: /usr/bin/ld: ../lib/LLVMgold.so: cannot open shared object file: No such file or directory

From: Philip Li
Date: Thu Aug 15 2024 - 22:40:22 EST


On Fri, Aug 16, 2024 at 09:08:02AM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: d7a5aa4b3c007fae50405ca75c40258d90300e96
> commit: 83e913f52aba69149261742aa9ea4ceea7bf182d um: Support LTO
> date: 1 year, 6 months ago
> config: um-randconfig-001-20240815 (https://download.01.org/0day-ci/archive/20240816/202408160932.BvHwO6Qo-lkp@xxxxxxxxx/config)
> compiler: clang version 16.0.6 (https://github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240816/202408160932.BvHwO6Qo-lkp@xxxxxxxxx/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@xxxxxxxxx>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202408160932.BvHwO6Qo-lkp@xxxxxxxxx/
>
> All errors (new ones prefixed by >>):

kindly ignore this false report, which should be test environment issue. We will
follow up to fix this.

>
> >> /usr/bin/ld: ../lib/LLVMgold.so: cannot open shared object file: No such file or directory
> clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
> --
> >> llvm-objcopy: error: 'arch/x86/um/vdso/vdso.so.dbg': No such file or directory
>
> --
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki
>