All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH 2/3] arm: include: asm: unified: mask .syntax unified for clang
Date: Wed, 28 Jul 2021 02:00:12 +0800	[thread overview]
Message-ID: <202107280123.xDzZMp4S-lkp@intel.com> (raw)
In-Reply-To: <20210727141119.19812-3-pavo.banicevic@sartura.hr>

[-- Attachment #1: Type: text/plain, Size: 3814 bytes --]

Hi Pavo,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.14-rc3 next-20210726]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Pavo-Banicevic/Address-compilation-of-eBPF-related-software-with-clang-compiler-on-arm-architecture/20210727-221337
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git ff1176468d368232b684f75e82563369208bc371
config: arm-randconfig-r014-20210727 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project c658b472f3e61e1818e1909bf02f3d65470018a5)
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 arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://github.com/0day-ci/linux/commit/8ff1bd9885a517cd6f325cca2cc020c88723ee81
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Pavo-Banicevic/Address-compilation-of-eBPF-related-software-with-clang-compiler-on-arm-architecture/20210727-221337
        git checkout 8ff1bd9885a517cd6f325cca2cc020c88723ee81
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=arm prepare

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 >>):

   In file included from kernel/bounds.c:13:
   In file included from include/linux/log2.h:12:
   In file included from include/linux/bitops.h:32:
   In file included from arch/arm/include/asm/bitops.h:243:
   In file included from include/asm-generic/bitops/lock.h:5:
   In file included from include/linux/atomic.h:7:
   In file included from arch/arm/include/asm/atomic.h:12:
   In file included from include/linux/prefetch.h:15:
   In file included from arch/arm/include/asm/processor.h:16:
>> arch/arm/include/asm/unified.h:8:2: error: unterminated conditional directive
   #ifndef __ASM_UNIFIED_H
    ^
   1 error generated.
--
   In file included from kernel/bounds.c:13:
   In file included from include/linux/log2.h:12:
   In file included from include/linux/bitops.h:32:
   In file included from arch/arm/include/asm/bitops.h:243:
   In file included from include/asm-generic/bitops/lock.h:5:
   In file included from include/linux/atomic.h:7:
   In file included from arch/arm/include/asm/atomic.h:12:
   In file included from include/linux/prefetch.h:15:
   In file included from arch/arm/include/asm/processor.h:16:
>> arch/arm/include/asm/unified.h:8:2: error: unterminated conditional directive
   #ifndef __ASM_UNIFIED_H
    ^
   1 error generated.
   make[2]: *** [scripts/Makefile.build:117: kernel/bounds.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [Makefile:1213: prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:220: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.


vim +8 arch/arm/include/asm/unified.h

0becb088501886f Catalin Marinas 2009-07-24  @8  #ifndef __ASM_UNIFIED_H
0becb088501886f Catalin Marinas 2009-07-24   9  #define __ASM_UNIFIED_H
0becb088501886f Catalin Marinas 2009-07-24  10  

---
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: 42021 bytes --]

  parent reply	other threads:[~2021-07-27 18:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-27 14:11 [PATCH 0/3] Address compilation of eBPF related software with clang compiler on arm architecture Pavo Banicevic
2021-07-27 14:11 ` Pavo Banicevic
2021-07-27 14:11 ` [PATCH 1/3] arm: include: asm: swab: mask rev16 instruction for clang Pavo Banicevic
2021-07-27 14:11   ` Pavo Banicevic
2021-07-27 15:46   ` Yonghong Song
2021-07-27 15:46     ` Yonghong Song
2021-07-27 17:53   ` Nick Desaulniers
2021-07-27 17:53     ` Nick Desaulniers
2021-07-27 21:43     ` Andrii Nakryiko
2021-07-27 21:43       ` Andrii Nakryiko
2021-07-27 14:11 ` [PATCH 2/3] arm: include: asm: unified: mask .syntax unified " Pavo Banicevic
2021-07-27 14:11   ` Pavo Banicevic
2021-07-27 16:41   ` kernel test robot
2021-07-27 17:55   ` Nick Desaulniers
2021-07-27 17:55     ` Nick Desaulniers
2021-07-27 18:00   ` kernel test robot [this message]
2021-07-27 14:11 ` [PATCH 3/3] include/uapi/linux/swab: Fix potentially missing __always_inline Pavo Banicevic
2021-07-27 14:11   ` Pavo Banicevic
2021-07-28 13:49   ` Petr Vaněk
2021-07-28 13:49     ` Petr Vaněk

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=202107280123.xDzZMp4S-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.