On Fri, Jan 29, 2021 at 09:20:52AM -0800, James Bottomley wrote: > On Fri, 2021-01-29 at 22:27 +0800, kernel test robot wrote: > > tree: > > https://github.com/0day-ci/linux/commits/UPDATE-20210129-183238/James-Bottomley/TPM-2-0-trusted-key-rework/20210129-175906 > > head: d98ce41d6c32fa78e380385c6e146f752e4d3809 > > commit: af175fe469c6f0bdd1e14a14a3d107e7adb122bb security: keys: > > trusted: use ASN.1 TPM2 key format for the blobs > > date: 4 hours ago > > config: arm64-randconfig-r023-20210129 (attached as .config) > > compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project > > 275c6af7d7f1ed63a03d05b4484413e447133269) > > 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 arm64 cross compiling tool for clang build > > # apt-get install binutils-aarch64-linux-gnu > > # > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=af175fe469c6f0bdd1e14a14a3d107e7adb122bb > > git remote add linux-review > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > git fetch --no-tags linux-review UPDATE-20210129- > > 183238/James-Bottomley/TPM-2-0-trusted-key-rework/20210129-175906 > > git checkout af175fe469c6f0bdd1e14a14a3d107e7adb122bb > > # save the attached .config to linux build tree > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross > > ARCH=arm64 > > > > If you fix the issue, kindly add following tag as appropriate > > Reported-by: kernel test robot > > > > All warnings (new ones prefixed by >>): > > > > aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from > > `fs/dlm/rcom.o' being placed in section `.eh_frame' > > What's the problem here? the file you're complaining about is pure > machine generated so I can't alter its .c anyway and this looks like > some type of linker problem anyway. > > Let's start with what does the error actually mean? Unfortunately, this is a clang bug: https://github.com/ClangBuiltLinux/linux/issues/1069 $ curl -LSs https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org/message/OWC2ZF3C6UTA6ND74UJVSJ4BRRKFGJKC/attachment/2/config.gz | gzip -d | rg "GCOV" # GCOV-based kernel profiling CONFIG_GCOV_KERNEL=y CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y CONFIG_GCOV_PROFILE_ALL=y # end of GCOV-based kernel profiling I will try to send out that workaround today so that we stop pinging developers about it (and it would be nice if the 0day folks could just send warnings of this nature to our mailing list only). Cheers, Nathan