[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202107150606.4erTpg2F-lkp@intel.com>
Date: Thu, 15 Jul 2021 06:40:11 +0800
From: kernel test robot <lkp@...el.com>
To: Alexey Dobriyan <adobriyan@...il.com>
Cc: clang-built-linux@...glegroups.com, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org, 0day robot <lkp@...el.com>
Subject: arch/powerpc/lib/xor_vmx.c:14:10: fatal error: 'altivec.h' file not
found
tree: https://github.com/0day-ci/linux/commits/UPDATE-20210715-014555/Alexey-Dobriyan/Decouple-build-from-userspace-headers/20210714-034924
head: f189675c22efc0acc3b1d1d15220c37aa3cb4fe3
commit: f189675c22efc0acc3b1d1d15220c37aa3cb4fe3 Decouple build from userspace headers
date: 5 hours ago
config: powerpc-randconfig-r014-20210714 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 8d69635ed9ecf36fd0ca85906bfde17949671cbe)
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 powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
# https://github.com/0day-ci/linux/commit/f189675c22efc0acc3b1d1d15220c37aa3cb4fe3
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review UPDATE-20210715-014555/Alexey-Dobriyan/Decouple-build-from-userspace-headers/20210714-034924
git checkout f189675c22efc0acc3b1d1d15220c37aa3cb4fe3
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=powerpc SHELL=/bin/bash arch/powerpc/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> arch/powerpc/lib/xor_vmx.c:14:10: fatal error: 'altivec.h' file not found
#include <altivec.h>
^~~~~~~~~~~
1 error generated.
vim +14 arch/powerpc/lib/xor_vmx.c
ef1313deafb7ba Anton Blanchard 2013-10-14 @14 #include <altivec.h>
8fe088850f13ea Daniel Axtens 2016-04-26 15 #else
8fe088850f13ea Daniel Axtens 2016-04-26 16 #define vec_xor(a, b) a ^ b
8fe088850f13ea Daniel Axtens 2016-04-26 17 #define vector __attribute__((vector_size(16)))
8fe088850f13ea Daniel Axtens 2016-04-26 18 #endif
ef1313deafb7ba Anton Blanchard 2013-10-14 19
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (36884 bytes)
Powered by blists - more mailing lists