[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202209261934.yOjdegRi-lkp@intel.com>
Date: Mon, 26 Sep 2022 19:47:53 +0800
From: kernel test robot <lkp@...el.com>
To: Nick Desaulniers <nick.desaulniers@...il.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [clangbuiltlinux:macos_host_build 1/1] <command-line>: fatal error:
scripts/mod/elf_helper.h: No such file or directory
tree: https://github.com/ClangBuiltLinux/linux macos_host_build
head: f06333e29addbc3d714adb340355f471c1dfe95a
commit: f06333e29addbc3d714adb340355f471c1dfe95a [1/1] WIP: build Linux on MacOS
config: um-x86_64_defconfig
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/ClangBuiltLinux/linux/commit/f06333e29addbc3d714adb340355f471c1dfe95a
git remote add clangbuiltlinux https://github.com/ClangBuiltLinux/linux
git fetch --no-tags clangbuiltlinux macos_host_build
git checkout f06333e29addbc3d714adb340355f471c1dfe95a
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=um SUBARCH=x86_64 prepare
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
arch/x86/um/user-offsets.c:17:6: warning: no previous prototype for 'foo' [-Wmissing-prototypes]
17 | void foo(void)
| ^~~
>> <command-line>: fatal error: scripts/mod/elf_helper.h: No such file or directory
compilation terminated.
make[2]: *** [scripts/Makefile.host:112: scripts/mod/modpost.o] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1205: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:222: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (40654 bytes)
Powered by blists - more mailing lists