From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: arch/powerpc/lib/xor_vmx.c:14:10: fatal error: 'altivec.h' file not found
Date: Thu, 15 Jul 2021 06:40:11 +0800 [thread overview]
Message-ID: <202107150606.4erTpg2F-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2205 bytes --]
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@intel.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(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 36884 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Alexey Dobriyan <adobriyan@gmail.com>
Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org, 0day robot <lkp@intel.com>
Subject: arch/powerpc/lib/xor_vmx.c:14:10: fatal error: 'altivec.h' file not found
Date: Thu, 15 Jul 2021 06:40:11 +0800 [thread overview]
Message-ID: <202107150606.4erTpg2F-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2161 bytes --]
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@intel.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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 36884 bytes --]
next reply other threads:[~2021-07-14 22:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-14 22:40 kernel test robot [this message]
2021-07-14 22:40 ` arch/powerpc/lib/xor_vmx.c:14:10: fatal error: 'altivec.h' file not found kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202107150606.4erTpg2F-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.