All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Error: invalid switch -me200
Date: Fri, 13 Nov 2020 11:21:49 +0800	[thread overview]
Message-ID: <202011131146.g8dPLQDD-lkp@intel.com> (raw)

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

Hi Fangrui,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   585e5b17b92dead8a3aca4e3c9876fbca5f7e0ba
commit: ca9b31f6bb9c6aa9b4e5f0792f39a97bbffb8c51 Makefile: Fix GCC_TOOLCHAIN_DIR prefix for Clang cross compilation
date:   4 months ago
config: powerpc-randconfig-r031-20201113 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 9e0c35655b6e8186baef8840b26ba4090503b554)
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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ca9b31f6bb9c6aa9b4e5f0792f39a97bbffb8c51
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout ca9b31f6bb9c6aa9b4e5f0792f39a97bbffb8c51
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 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 >>):

   Assembler messages:
>> Error: invalid switch -me200
>> Error: unrecognized option -me200
   clang-12: error: assembler command failed with exit code 1 (use -v to see invocation)
   make[2]: *** [scripts/Makefile.build:281: scripts/mod/empty.o] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [Makefile:1174: prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:185: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Fangrui Song <maskray@google.com>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	linux-kernel@vger.kernel.org,
	Masahiro Yamada <masahiroy@kernel.org>,
	Nathan Chancellor <natechancellor@gmail.com>,
	Nick Desaulniers <ndesaulniers@google.com>
Subject: Error: invalid switch -me200
Date: Fri, 13 Nov 2020 11:21:49 +0800	[thread overview]
Message-ID: <202011131146.g8dPLQDD-lkp@intel.com> (raw)

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

Hi Fangrui,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   585e5b17b92dead8a3aca4e3c9876fbca5f7e0ba
commit: ca9b31f6bb9c6aa9b4e5f0792f39a97bbffb8c51 Makefile: Fix GCC_TOOLCHAIN_DIR prefix for Clang cross compilation
date:   4 months ago
config: powerpc-randconfig-r031-20201113 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 9e0c35655b6e8186baef8840b26ba4090503b554)
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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ca9b31f6bb9c6aa9b4e5f0792f39a97bbffb8c51
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout ca9b31f6bb9c6aa9b4e5f0792f39a97bbffb8c51
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 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 >>):

   Assembler messages:
>> Error: invalid switch -me200
>> Error: unrecognized option -me200
   clang-12: error: assembler command failed with exit code 1 (use -v to see invocation)
   make[2]: *** [scripts/Makefile.build:281: scripts/mod/empty.o] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [Makefile:1174: prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:185: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.

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

             reply	other threads:[~2020-11-13  3:21 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-13  3:21 kernel test robot [this message]
2020-11-13  3:21 ` Error: invalid switch -me200 kernel test robot
2020-11-13 17:28 ` Fāng-ruì Sòng
2020-11-13 17:28   ` Fāng-ruì Sòng
2020-11-13 19:08   ` Nathan Chancellor
2020-11-13 19:08     ` Nathan Chancellor
2020-11-13 19:42     ` Nick Desaulniers
2020-11-13 19:42       ` Nick Desaulniers
2020-11-13 19:42       ` Nick Desaulniers
2020-11-13 20:04       ` Nathan Chancellor
2020-11-13 20:04         ` Nathan Chancellor
2020-11-13 20:04         ` Nathan Chancellor
2020-11-13 20:14         ` Nick Desaulniers
2020-11-13 20:14           ` Nick Desaulniers
2020-11-13 20:14           ` Nick Desaulniers
2020-11-14  0:20           ` Segher Boessenkool
2020-11-14  0:20             ` Segher Boessenkool
2020-11-14  0:37             ` Fāng-ruì Sòng
2020-11-14  0:37               ` Fāng-ruì Sòng
2020-11-14  0:37               ` Fāng-ruì Sòng
2020-11-14  0:50               ` Segher Boessenkool
2020-11-14  0:50                 ` Segher Boessenkool
2020-11-16 20:27                 ` Scott Wood
2020-11-16 20:27                   ` Scott Wood
2020-11-16 20:27                   ` Scott Wood
2020-11-16 20:47                   ` Segher Boessenkool
2020-11-16 20:47                     ` Segher Boessenkool
2020-11-16 23:59                 ` Alan Modra
2020-11-16 23:59                   ` Alan Modra
2020-11-16 23:59                   ` Alan Modra
2020-11-14  9:02             ` Christophe Leroy
2020-11-14  9:02               ` Christophe Leroy
2020-11-14  9:02               ` Christophe Leroy
2020-11-16  6:06               ` Michael Ellerman
2020-11-16  6:06                 ` Michael Ellerman
2020-11-16  6:06                 ` Michael Ellerman
2020-11-16 15:26                 ` Christophe Leroy
2020-11-16 15:26                   ` Christophe Leroy
2020-11-16 15:26                   ` Christophe Leroy
  -- strict thread matches above, loose matches on Subject: below --
2020-10-02  8:48 kernel test robot
2020-10-02  8:48 ` kernel test robot
2020-07-29 16:50 kernel test robot
2020-07-29 16:50 ` 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=202011131146.g8dPLQDD-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.